Powerful ModelAdmin filters to make SilverStripe an awesome CRUD package

<%- if @topic_view.topic.tags.present? %>
<%= t 'js.tagging.tags' %>: <%- @topic_view.topic.tags.each do |t| %> <%= t %> <%- end %>
<% end %>

I love ModelAdmin but I often find that sorting and filtering is limiting. Sorting could be improved by allowing sorting on the underlying property when a formatting method is used. Improving filtering would be more work but I’d love to see it happen, and it might help make SilverStripe an even more attractive CRUD package for agile development.

Currently out of the box you typically get one search field for each field you’ve defined in $summary_fields and it’s generally a %LIKE% (contains) filter. This can be okay sometimes but in some cases, like Date fields, it’s not very useful (if I’m filtering on dates I generally want to specify a range, not one specific date).

The functionality I dream of is basically the search function built in to the MacOS Finder. You can add as many filters as you want, and define the property to filter on, type of filter and value. The types of filters available depend on which property you choose.


I would love to have this in SilverStripe.