@@ -, +, @@
searching Mana
- Go to Serials -> Advanced search (in the search header).
- The search form should include all fields, including call number,
vendor, library, location, and "Expires before."
- Click "Search on Mana" in the sidebar.
- This page should have the heading "Mana subscriptions search," and
there should only be three fields visible: ISSN, Title, and Publisher.
- When you perform a Mana search which returns results the page should
have the heading "Mana subscriptions (X found).
---
.../prog/en/modules/serials/serials-search.tt | 30 +++++++++++--------
1 file changed, 17 insertions(+), 13 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt
@@ -229,10 +229,18 @@
[% INCLUDE 'serials-toolbar.inc' %]
- [% IF ( done_searched ) %]
-
Serials subscriptions ([% total | html %] found)
+ [% IF ( mana ) %]
+ [% IF ( done_searched ) %]
+
Mana subscriptions ([% total | html %] found)
+ [% ELSE %]
+
Mana subscriptions search
+ [% END %]
[% ELSE %]
-
Serials subscriptions search
+ [% IF ( done_searched ) %]
+
Serials subscriptions ([% total | html %] found)
+ [% ELSE %]
+
Serials subscriptions search
+ [% END %]
[% END %]
[% UNLESS ( done_searched ) %]
@@ -255,7 +263,7 @@
[% END %]
-
+
@@ -263,11 +271,11 @@
-
+
-
+
-
+
[% PROCESS 'av-build-dropbox.inc' name="location_filter", category="LOC", default=location_filter, all=1 %]
-
+
@@ -518,11 +526,7 @@
});
[% IF ( mana ) %]
- $("label[for=callnumber], input#callnumber").hide();
- $("label[for=bookseller], input#bookseller").hide();
- $("label[for=branch], select#branch").hide();
- $("label[for=to], input#to").hide();
- $("label[for=location], select#location_filter").hide();
+ $(".local").hide();
[% FOR field IN additional_fields_for_subscription %]
$("label[for=additional_field_[% field.id | $raw %]], input#additional_field_[% field.id | $raw %]").hide();
[% END %]
--