File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 2121// Load core.js to enable tableordering
2222JHtml::_ ('script ' , 'system/core.js ' , false , true );
2323
24+ $ this ->filterForm = $ this ->get ('FilterForm ' );
25+ if (!$ this ->params ->get ('jtg_param_use_cats ' )) $ this ->filterForm ->removeField ('trackcat ' ,'filter ' );
26+ if (!$ this ->cfg ->uselevel ) $ this ->filterForm ->removeField ('tracklevel ' ,'filter ' );
27+
2428echo $ this ->lh ;
2529
2630$ iconheight = $ this ->params ->get ('jtg_param_list_icon_max_height ' );
Original file line number Diff line number Diff line change 2020$ this ->getModel ()->setState ('list.limit ' ,'0 ' ); // show all tracks
2121$ this ->items = $ this ->get ('Items ' );
2222$ this ->filterForm = $ this ->get ('FilterForm ' );
23- $ this ->activeFilters = $ this ->get ('ActiveFilters ' );
23+
24+ if (!$ this ->params ->get ('jtg_param_use_cats ' )) $ this ->filterForm ->removeField ('trackcat ' ,'filter ' );
25+ if (!$ this ->cfg ->uselevel ) $ this ->filterForm ->removeField ('tracklevel ' ,'filter ' );
26+
2427echo $ this ->lh ;
2528
2629echo "\n<script> \n" ;
You can’t perform that action at this time.
0 commit comments