From 63d6c1d8c583a734bd289f01a423133f0c56bb0e Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Tue, 27 Oct 2020 11:48:30 +0100 Subject: [PATCH] Bug 26860: facets.inc refactor availability facet MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit To prepare new facet, this patch refactors the availability facet, without any change in restult. Appart from an id 'facet-availability', like other facets. Test plan: 1) Perform a search in staff interface 2) Check availability facet displays well 3) Click on it 4) Check availability facet displays well Signed-off-by: Séverine QUEUNE Signed-off-by: Tomas Cohen Arazi Signed-off-by: David Nind Signed-off-by: Kyle M Hall Signed-off-by: Jonathan Druart --- .../intranet-tmpl/prog/en/includes/facets.inc | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc index d31ade3d23..af01c0e88b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc @@ -6,13 +6,22 @@

Refine your search

    -
  • Availability - [% IF ( related ) %]
  • (related searches: [% FOREACH relate IN related %][% relate.related_search | html %][% END %])
  • [% END %] - +
  • + Availability + +
  • + [% IF ( related ) %]
  • (related searches: [% FOREACH relate IN related %][% relate.related_search | html %][% END %])
  • [% END %] - [% FOREACH facets_loo IN facets_loop %] +[% FOREACH facets_loo IN facets_loop %] [% IF facets_loo.facets.size > 0 %] -
  • +
  • [% facets_loo.type_label | html %] [% IF facets_loo.type_label_Authors %]Authors[% END %] [% IF facets_loo.type_label_Titles %]Titles[% END %] -- 2.39.5