Totara Learn Open Discussions

Add custom filter to grid catalog

 
??
Add custom filter to grid catalog
?? 发表于 2020年02月17日 Monday 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. 

BansalNikhil
Re: Add custom filter to grid catalog
BansalNikhil 发表于 2020年06月2日 Tuesday 02:05
小组 Partners

Found any way? What documentation are you using? 

[sitename]/admin/webservice/documentation.php

SnyderChris
Re: Add custom filter to grid catalog
SnyderChris 发表于 2020年06月4日 Thursday 20:25
小组 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