diff --git a/koha-tmpl/intranet-tmpl/prog/css/itemsearchform.css b/koha-tmpl/intranet-tmpl/prog/css/itemsearchform.css
index 158be490a7..c93f7fa965 100644
--- a/koha-tmpl/intranet-tmpl/prog/css/itemsearchform.css
+++ b/koha-tmpl/intranet-tmpl/prog/css/itemsearchform.css
@@ -67,7 +67,3 @@ input[type="text"] {
padding-left: 1.5em;
}
-.select2.select2-container.select2-container--default {
- flex-grow: 1;
- max-width: 60%;
-}
diff --git a/koha-tmpl/intranet-tmpl/prog/css/select2.css b/koha-tmpl/intranet-tmpl/prog/css/select2.css
index 6880eaa3c0..8733a8b591 100644
--- a/koha-tmpl/intranet-tmpl/prog/css/select2.css
+++ b/koha-tmpl/intranet-tmpl/prog/css/select2.css
@@ -48,4 +48,14 @@
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
clear: none;
width: auto;
-}
\ No newline at end of file
+}
+
+.select2.select2-container.select2-container--default {
+ flex-grow: 1;
+ max-width: 60%;
+}
+
+fieldset.rows .select2 li {
+ clear: none;
+ width: unset;
+}
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc
deleted file mode 100644
index 3f703966d5..0000000000
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc
+++ /dev/null
@@ -1,24 +0,0 @@
-[%# To select all include with selectall = 1 %]
-
-
Select all | Clear all
- [% SET branches_for_loop = branches.hash(1).keys.nsort || [] %][%# Do not modify the original variable 'branches' %]
- [% WHILE branches_for_loop.size > 0 %]
-
- [% END %]
-
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt
index db9dbb6393..10afc5c9be 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt
@@ -13,8 +13,8 @@
>
[% INCLUDE 'doc-head-close.inc' %]
@@ -84,7 +84,6 @@
Item type:
- -- All --
[% FOREACH itemtype IN itemtypes %]
[% itemtype.translated_description | html %]
[% END %]
@@ -92,38 +91,40 @@
- With items owned by the following libraries:
- [% INCLUDE 'branch-selector.inc' branches = libraries %]
+ Home library:
+
+ [% PROCESS options_for_libraries libraries => Branches.all( selected => branch_limit, unfiltered => 1, do_not_select_my_library => 1 ) %]
+
+
-
- Call number range
-
-
- From item call number:
-
-
-
- To item call number:
-
-
-
-
+
+ Call number range
+
+
+ From item call number:
+
+
+
+ To item call number:
+
+
+
+
-
- Accession date (inclusive)
-
-
- Start date:
-
-
-
- End date:
-
-
-
-
+
+ Accession date (inclusive)
+
+
+ Start date:
+
+
+
+ End date:
+
+
+
@@ -327,16 +328,23 @@
[% MACRO jsinclude BLOCK %]
[% INCLUDE 'calendar.inc' %]
+ [% INCLUDE 'select2.inc' %]
[% END %]