As subject suggests, does anyone know how to add basic filter to the newly created custom module.
It is only displaying the list view. But the basic filter search option is missing.
As subject suggests, does anyone know how to add basic filter to the newly created custom module.
It is only displaying the list view. But the basic filter search option is missing.
Maybe after adding few records, the filter option becomes visible.
We already have more than 500+ records in that custom module.
Please check if the {MODULE}/metadata/searchdefs.php and {MODULE}/metadata/SearchFields.php files are present in modules or custom/modules folders and the searchdefs.php has ‘basic_search’ and ‘advanced_search’ layouts defined.
I need to check those files. So, do we need to add those files if we don’t have them?
These files will be created in custom folder when you save filter changes from admin-> studio → module → filter. Can you please try this?
We have added the fields in the filter but still we cannot see the filters above the list view.
There are no errors in console and log files.
The searchdefs.ph and SearchField.php files are available at /modules/ModuleName/metadata/ folder.
Do you mean this button is missing?
We’ve never seen this.
Maybe some permissions problem? Try to set again permissions to all folders and regenerate cache folder. Repair all options…