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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

How To Get Live Search To Work In The CMS (2.4.1)?


Go to End


1406 Views

Avatar
ck_bullet

Community Member, 16 Posts

5 October 2010 at 5:38am

In the Files & Images section of the CMS there is a search input field at the top-right of the grid. It looks like this is using ajax from a dataobject_manger.js refresh() function which calls an action "/admin/assets/EditForm/field/Files" with a number of parameters such as start, limit, search, etc. Where is the actual query in the code? The ajax on success returns the entire form html, but no matter what I search, it always returns the same html which is the same html when you first come to the page, it's as if the query didn't include the search parameter.