Totara Learn Open Discussions

Add custom filter to grid catalog

 
? ?
Add custom filter to grid catalog
von ? ? – Monday, 17. February 2020, 01:17
 

Hello Community!

i need to create a custom filter in the grid catalog which should be displayed in the sidebar. I read the documentation on extending the grid catalog. But I still don't know whats the proper filestructure to create a new filter. 

Is there a decent way to do so?

My filter should sort tags by there restrictions (audience, organisation, position). I have a plugin which adds those restriction to each tag in a new database table. 

Greetings Max. 

Nikhil Bansal
Re: Add custom filter to grid catalog
von Nikhil Bansal – Tuesday, 2. June 2020, 02:05
Gruppe Partners

Found any way? What documentation are you using? 

[sitename]/admin/webservice/documentation.php

Chris Snyder
Re: Add custom filter to grid catalog
von Chris Snyder – Thursday, 4. June 2020, 20:25
Gruppe Totara

Hi Max,

You may have already found this, but the existing filters offer a pretty good template to use for creating your own. 

You can find the filters for courses (for example) in course/classes/totara_catalog/filter_factory

Best,

Chris