mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
memorizing enable and disable status of facets
This commit is contained in:
@@ -89,6 +89,7 @@
|
|||||||
{% elseif app['settings'].getUserSetting(app.getAuthenticatedUser(), 'start_page') == 'PUBLI' %}
|
{% elseif app['settings'].getUserSetting(app.getAuthenticatedUser(), 'start_page') == 'PUBLI' %}
|
||||||
{% set initialAppState = 'publication' %}
|
{% set initialAppState = 'publication' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% set savedHiddenFacetsList = app['settings'].getUserSetting(app.getAuthenticatedUser(), 'hiddenFacetsList') %}
|
||||||
|
|
||||||
window.prodApp = ProductionApplication.bootstrap({
|
window.prodApp = ProductionApplication.bootstrap({
|
||||||
lang: "{{ app.locale }}",
|
lang: "{{ app.locale }}",
|
||||||
@@ -138,7 +139,8 @@
|
|||||||
},
|
},
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
savedHiddenFacetsList: {{ savedHiddenFacetsList|json_encode()|raw }}
|
||||||
});
|
});
|
||||||
|
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
@@ -744,6 +746,8 @@
|
|||||||
<input id="ADVSRCH_FILTER_FACET" type="checkbox" name="filter_facet" {% if facetFilter == 'true' %}checked="checked"{% endif %}>
|
<input id="ADVSRCH_FILTER_FACET" type="checkbox" name="filter_facet" {% if facetFilter == 'true' %}checked="checked"{% endif %}>
|
||||||
{{ 'index::advance_search: disable-facet' | trans }}
|
{{ 'index::advance_search: disable-facet' | trans }}
|
||||||
</label>
|
</label>
|
||||||
|
<h1>{{ 'index::advance_search: hidden-facet-values-order' | trans }}</h1>
|
||||||
|
<div class="hiddenFiltersListContainer"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user