Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions api/js/etemplate/et2_extension_nextmatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -2486,12 +2486,13 @@ var et2_nextmatch_header_bar = (function(){ "use strict"; return et2_DOMWidget.e

// Add category
if(!settings.no_cat) {
var multiple = (this.nextmatch.options.settings.cat_is_multiple ? true : false );
if (typeof settings.cat_id_label == 'undefined') settings.cat_id_label = '';
this.category = this._build_select('cat_id', settings.cat_is_select ?
'select' : 'select-cat', settings.cat_id, settings.cat_is_select !== true, {
multiple: false,
multiple: multiple,
tags: true,
class: "select-cat"
class: "select-cat et2_selectbox_single_row"
});
}

Expand Down
1 change: 1 addition & 0 deletions api/src/Etemplate/Widget/Nextmatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* 'no_cat' => True// I disable the cat-selectbox
* 'cat_app' => // I application the cat's should be from, default app in get_rows
* 'cat_is_select' => // I true||'no_lang' use selectbox instead of category selection, default null
* 'cat_is_multiple'=> // I Use muliple select (tags=true) for category filter, default false
* 'template' => // I template to use for the rows, if not set via options
* 'header_left' => // I template to show left of the range-value, left-aligned (optional)
* 'header_right' => // I template to show right of the range-value, right-aligned (optional)
Expand Down