filters works with two modes, show_only true or false

This commit is contained in:
lenovo
2022-11-12 11:05:46 +01:00
parent 03bfc6214a
commit 7bbad5a4ec
3 changed files with 43 additions and 27 deletions

View File

@@ -17,7 +17,7 @@ function mp_create_div(&$filters) {
';
foreach ($filter as $value) {
$mp_map_div .= '
<p onclick="filter_show_only_selection('.json_encode($value->indexes).')">'.$value->_name.'</p>
<p onclick="filter_show_only_selection('.json_encode($value->indexes).', false)">'.$value->_name.'</p>
';
}
$mp_map_div .= '