Bugzilla – Attachment 12650 Details for
Bug 8851
strange blue bar above serials results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 8851 - strange blue bar above serials results
SIGNED-OFF-Bug-8851---strange-blue-bar-above-seria.patch (text/plain), 4.88 KB, created by
Nicole C. Engard
on 2012-10-02 18:53:19 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 8851 - strange blue bar above serials results
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2012-10-02 18:53:19 UTC
Size:
4.88 KB
patch
obsolete
>From 0efd866ba153a00337c7a5186321e4557858fe43 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 2 Oct 2012 14:25:26 -0400 >Subject: [PATCH] [SIGNED-OFF] Bug 8851 - strange blue bar above serials results > >Bug 5357 (Subscription search and displays) added an advanced >search form which adds a new interface featured: a collapsible >fieldset with the search form inside. Bug 8851 was filed >because it is not immediately obvious that the search form >is hidden and can be shown by clicking the fieldset's legend. > >I contend that this new behavior is unnecessary: In many other >places we put a similar search form in the left-hand sidebar. > >This patch amends the template to show the search form in the >main body of the page if no search has been performed. After >searching the form is moved to the sidebar. This keeps the page >consistent with other interfaces and eliminates the confusion >about the collapsed form. > >Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> >--- > .../prog/en/modules/serials/serials-search.tt | 64 ++++++++++++++++---- > 1 files changed, 53 insertions(+), 11 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >index b5e7f54..98ef4d5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >@@ -34,18 +34,11 @@ > [% INCLUDE 'serials-toolbar.inc' %] > > <h2>Serials subscriptions</h2> >- >+ [% UNLESS ( done_searched ) %] > <div id="advsearch"> > <form action="/cgi-bin/koha/serials/serials-search.pl" method="get"> > <fieldset class="rows"> >- <legend onclick="$('#advsearch_form').slideToggle(400);"> >- <a id="unfold_advsearch" style="cursor:pointer">Search subscriptions</a> >- </legend> >- [% IF ( done_searched ) %] >- <div id="advsearch_form" style="display:none"> >- [% ELSE %] >- <div> >- [% END %] >+ <legend>Search subscriptions</legend> > <ol> > <li> > <label for="issn">ISSN:</label> >@@ -87,11 +80,10 @@ > <fieldset class="action"> > <input type="submit" value="Search" /> > </fieldset> >- </div> > </fieldset> > </form> > </div> >- >+ [% END %] > [% IF ( done_searched ) %] > [% IF ( subscriptions ) %] > <table id="srlt"> >@@ -180,6 +172,56 @@ > > <div class="yui-b"> > [% INCLUDE 'serials-menu.inc' %] >+ [% IF ( done_searched ) %] >+ <div id="advsearch"> >+ <form action="/cgi-bin/koha/serials/serials-search.pl" method="get"> >+ <fieldset class="brief"> >+ <h4>Search subscriptions</h4> >+ <ol> >+ <li> >+ <label for="issn">ISSN:</label> >+ <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter %]" /> >+ </li> >+ <li> >+ <label for="title">Title:</label> >+ <input type="text" id="title" name="title_filter" value="[% title_filter %]" /> >+ </li> >+ [% IF ( marcflavour == "UNIMARC" ) %] >+ <li> >+ <label for="ean">EAN:</label> >+ <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter %]" /> >+ </li> >+ [% END %] >+ <li> >+ <label for="publisher">Publisher:</label> >+ <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter %]" /> >+ </li> >+ <li> >+ <label for="bookseller">Bookseller:</label> >+ <input type="text" id="bookseller" name="bookseller_filter" value="[% bookseller_filter %]" /> >+ </li> >+ <li> >+ <label for="branch">Branch:</label> >+ <select id="branch" name="branch_filter"> >+ <option value="">All</option> >+ [% FOREACH branch IN branches_loop %] >+ [% IF ( branch.selected ) %] >+ <option selected="selected" value="[% branch.branchcode %]">[% branch.branchname %]</option> >+ [% ELSE %] >+ <option value="[% branch.branchcode %]">[% branch.branchname %]</option> >+ [% END %] >+ [% END %] >+ </select> >+ </li> >+ </ol> >+ <input type="hidden" name="searched" value="1" /> >+ <fieldset class="action"> >+ <input type="submit" value="Search" /> >+ </fieldset> >+ </div> >+ </fieldset> >+ </form> >+ [% END %] > </div> > </div> > [% INCLUDE 'intranet-bottom.inc' %] >-- >1.7.2.3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8851
:
12621
|
12649
| 12650