Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Search in ModelAdmin

Go to End



Community Member, 134 Posts

19 May 2010 at 8:59am


Let's say I have a numeric field i.e. a postalnumber in a class that I use in ModelAdmin.

Suppose I want to search all postalnumbers between 1000 and 8000 (these are danish postalnumbers), anyway it could be all kinds of numbers.

Is this feature possible – to search only for records which have numbers between two other numbers?

Thanks for any answers