Totara Learn Open Discussions

Add custom filter to grid catalog

 
? ?
Add custom filter to grid catalog
بواسطة 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
بواسطة Tuesday, 2 June 2020, 2:05 AM - Nikhil Bansal
مجموعة Partners

Found any way? What documentation are you using? 

[sitename]/admin/webservice/documentation.php

Chris Snyder
Re: Add custom filter to grid catalog
بواسطة Thursday, 4 June 2020, 8:25 PM - Chris Snyder
مجموعة 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