Totara Learn Open Discussions

Add custom filter to grid catalog

 
? ?
Add custom filter to grid catalog
by ? ? - Monday, 17 February 2020, 1:17 AM
 

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
by Nikhil Bansal - Tuesday, 2 June 2020, 2:05 AM
Group Partners

Found any way? What documentation are you using? 

[sitename]/admin/webservice/documentation.php

Chris Snyder
Re: Add custom filter to grid catalog
by Chris Snyder - Thursday, 4 June 2020, 8:25 PM
Group 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