Disable unsupported definition filter option for iCal export

This commit is contained in:
nathangray 2018-08-14 11:18:39 -06:00
parent cf9e6a62ad
commit 1d853aeab3
2 changed files with 2 additions and 1 deletions

View File

@ -137,6 +137,7 @@ class calendar_export_ical extends calendar_export_csv {
*/
public function get_selectors_etpl($definition = null) {
$data = parent::get_selectors_etpl($definition);
$data['content']['no_filter'] = true;
return $data;
}
/**

View File

@ -16,7 +16,7 @@
<row>
<radio label="Use search results" id="selection" onclick="jQuery('.criteria').hide();jQuery('div.filters').hide();" options="search_results" span="all"/>
</row>
<row>
<row disabled="@no_filter">
<radio label="Use definition filter" id="selection" onclick="jQuery('div.filters').show();jQuery('.criteria').hide();" options="filter" span="all"/>
</row>
<row>