From edfc80268c3936fe68f31bf0fff0760ea6cb62e0 Mon Sep 17 00:00:00 2001 From: Liz Date: Thu, 6 Nov 2014 08:29:02 +0000 Subject: [PATCH] Bug 13218: usability enhancements for z39.50 searches This patch rearranges the layout of the z39.50 search pages in cataloguing and authorities. There should be no functional change to z-target searching, all functions should remain the same. Changes: * 2 columns of search fields condensed into one * zTargets moved from below the search fields to beside them * rearranged search fields into perceived frequency of usage, from most used to least * changed label of Raw (any) to Keyword (any) To test: * click cataloguing -> new from z39.50/SRU * observe how the layout has changed * import a record or two using the search - there has been no change to the function, it should all be working. * Click Authorities -> new from z39.50 * observe how the layout has changed * import an authority or two using the search - there has been no change to the function, it should all be working. * sign off if you think these changes are nice. Comments and suggestions are also welcome regarding this change. Signed-off-by: Frederic Demians Nice evolution of the z3950 search/result pages. Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- .../prog/en/includes/authorities-toolbar.inc | 2 +- .../prog/en/modules/cataloguing/addbooks.tt | 2 +- .../modules/cataloguing/z3950_auth_search.tt | 7 ------ .../en/modules/cataloguing/z3950_search.tt | 24 +++++++------------ 4 files changed, 11 insertions(+), 24 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc index ff96505c53..203e9a08fb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc @@ -7,7 +7,7 @@ }); $("#z3950submit").click(function(){ - window.open("/cgi-bin/koha/cataloguing/z3950_auth_search.pl","z3950search",'width=740,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes'); + window.open("/cgi-bin/koha/cataloguing/z3950_auth_search.pl","z3950search",'width=800,height=500,location=yes,toolbar=no,scrollbars=yes,resize=yes'); return false; }); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt index 8a02dd56b2..39d99371dd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt @@ -24,7 +24,7 @@ function PopupZ3950(fw) { var strQuery = GetZ3950Terms(fw); if(strQuery){ - window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=[% biblionumber %]"+strQuery,"z3950search",'width=760,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes'); + window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=[% biblionumber %]"+strQuery,"z3950search",'width=800,height=500,location=yes,toolbar=no,scrollbars=yes,resize=yes'); } } /* provide Z3950 search points */ diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt index 26724a10da..5965dcfeb9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt @@ -113,12 +113,6 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :
  • - - - -
    -
    -
    1. @@ -126,7 +120,6 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :
    -

    Search targets Select allClear all

    [% FOREACH serverloo IN serverloop %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt index 1387cef9e1..afe35fe1bc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt @@ -107,25 +107,20 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :
    -
    1. +
      1. +
      2. +
      3. +
      4. +
      5. +
      6. -
      -
    -
    -
    -
    -
      -
    1. -
    2. -
    3. -
    4. -
    -
    +
  • +
  • + -

    Search targets Select allClear all

    @@ -160,7 +155,6 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : [% IF ( srchany ) %]Raw (any): [% srchany %] [% END %] [% IF ( stdid ) %]Standard ID: [% stdid %] [% END %]

    - [% IF ( errconn ) %]
      -- 2.39.5