Hi,
I want to add some modifications to the quick/advanced filter which pops up when you click on filter in the list view.
I want to print some additional instructions into the view with some java script and remove some drop-down options which should not show up.
I was naively trying to add an ‘includes’ entry to custom/modules//metadata/searchdefs.php which points to a JS file, which would apply the modifications. Essentially the same way you can do it with editview.defs.
The includes entry does not seem to work there? Is the searchdefs.php somehow different form the other views?
i.e. I try to add my JS like this to the searchdefs:
'templateMeta' =>
array (
'maxColumns' => '3',
'maxColumnsBasic' => '4',
'widths' =>
array (
'label' => '10',
'field' => '30',
),
'includes' =>
array (
0 =>
array (
'file' => 'custom/modules/<module>/my_custom_code.js',
),
),
),