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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

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

Search in ModelAdmin


Go to End


1065 Views

Avatar
joelg

Community Member, 134 Posts

19 May 2010 at 8:59am

Hi

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

Joel