filters intersection works even to re enable a categori selected
This commit is contained in:
@@ -12,6 +12,11 @@ function mp_filter_drop_down($key, &$filter) {
|
||||
onchange="filter_event(this, this.options[this.selectedIndex], \''.$key.'\')"
|
||||
*/
|
||||
$menu_name_class = 'filter_menu_'.str_replace(" ", "_", $key).'';
|
||||
$id = "filter_"
|
||||
. $key
|
||||
. "_"
|
||||
. $key
|
||||
;
|
||||
$content = '
|
||||
<select
|
||||
form="ljdp_form"
|
||||
@@ -20,6 +25,7 @@ function mp_filter_drop_down($key, &$filter) {
|
||||
>
|
||||
<option
|
||||
selected
|
||||
id="'.$id.'"
|
||||
class="filter_menu_item '.$menu_name_class.'"
|
||||
data-menu_index="menu_name"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user