Changes for page SolrDateFacet
Last modified by Administrator on 2024/02/03 10:14
From version
3.1


edited by Administrator
on 2020/12/29 00:17
on 2020/12/29 00:17
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-search-solr-ui/12.10.2]
To version
5.1

edited by Administrator
on 2024/02/03 10:14
on 2024/02/03 10:14
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-search-solr-ui/15.10.5]
Summary
Details
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -4,7 +4,8 @@ 4 4 var form = $(this).find('form').hide(); 5 5 6 6 // Toggle the form when the user selects the corresponding option. We pass null to prevent animation. 7 - $(this).find('.itemName').prev('input[type="checkbox"]').removeClass('hidden').click($.proxy(form, 'toggle', null)); 7 + $(this).find('.itemName').prev('input[type="checkbox"]').removeClass('hidden') 8 + .on('click', form.toggle.bind(form, null)); 8 8 9 9 // Use the client TimeZone when searching and displaying dates on the server. 10 10 // Note that we change the sign because Date#getTimezoneOffset() returns (UTC - local time)
- XWiki.StyleSheetExtension[0]
-
- Code
-
... ... @@ -1,5 +1,5 @@ 1 1 .search-facet-body .customDateInterval label { 2 - display: block;2 + display: flex; 3 3 } 4 4 .search-facet-body .customDateInterval .itemName { 5 5 cursor: pointer;