railsant / somatics_filter Goto Github PK
View Code? Open in Web Editor NEWRewrite of redmine_filter
License: MIT License
Rewrite of redmine_filter
License: MIT License
Filter accepts custom name. Can be done by accepting options[:name] by has_filter
Save the last query in the session so as to persist the query on the next request until the user presses the clear request.
We can have the save as default to have the default column view and filter view when accessing the model.
Currently the error dump is
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.first
Should be "Somatics::Filter::UnknownFilterType 'filter_type'
Allow to set filter on association information, e.g. Post has many comments and post should accepts filter comments_count.
There is a field called whodunnit but is not yet used now.
As in previous version, the filter query shall persist across the session so that when page refresh, the query will still persist.
As in previous version, there exist a multiple select for a list view.
Refer to Redmine
When the Filter contains some code likes "Comment.all" and the table "comments" does not exist, there will be a bug that the migration cannot be executed.
There are use cases not documented (e.g. type of filter, available options). There are constraints not documented (e.g. div should have id content due to the use of Ajax).
Replace the following params name
Add multiple select for list filter. Try to use :field_in => [v1, v2].
The Filter form rendered has no order on the available filters. The order should be the same as that of has_filter calls or accepts options[:order].
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.