From 899fa483bfbb41a59e332fdfa671d9cf799e99cb Mon Sep 17 00:00:00 2001 From: Marc Veron Date: Sun, 23 Sep 2012 16:32:39 +0200 Subject: [PATCH] Bug 6813: Followup: Fix HTML4 coding, new wording, warning on empty search terms Content-Type: text/plain; charset="utf-8" The aim of this followup is to fix issues from Comment #17: - HTML4 encoding UCfirst fixed - Warning regardig large databases - Added javascript with warning if search terms are empty - Removed not used fields from search form - Changed wording from "Duplicate search" (Google: 15'000) to "Find duplicates" (Google: 576'000) To Test: Create a an suggestion, order and catalog record for a certain title. Use the duplicate search tool available in the acquisitions menu (left navigation bar) to search and find the suggestion, order and catalog record matching the search term. Enter one or more of title, author and ISBN in the search criteria. Marc --- .../prog/en/includes/acquisitions-menu.inc | 2 +- .../prog/en/modules/acqui/duplicatesearch.tt | 43 ++++++++++++-------- 2 files changed, 27 insertions(+), 18 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-menu.inc index 6ecb148..9be34c4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-menu.inc @@ -5,7 +5,7 @@ [% IF ( CAN_user_acquisition_budget_manage ) %]
  • Budgets
  • Funds
  • -
  • Duplicate Search
  • +
  • Duplicate finder
  • [% END %] [% IF ( CAN_user_parameters ) %]
  • Currencies
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicatesearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicatesearch.tt index 393d8f6..fcf71cf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicatesearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicatesearch.tt @@ -1,6 +1,6 @@ [% USE KohaDates %] [% INCLUDE 'doc-head-open.inc' %] -Koha › Acquisitions › Duplicate Search +Koha › Acquisitions › Duplicate finder [% INCLUDE 'doc-head-close.inc' %] @@ -21,14 +21,29 @@ $(function(){ [% INCLUDE 'header.inc' %] [% INCLUDE 'acquisitions-search.inc' %] - - + +
    -

    Duplicate Search

    +

    Duplicate finder

    +

    Please note that search can be slow on a large database.

    [% IF ( result ) %]
    @@ -46,8 +61,8 @@ $(function(){ [% END %] - Basket Name - Order Number + Basket name + Order number Summary Vendor @@ -63,7 +78,7 @@ $(function(){
    -

    Suggestion Search Results

    +

    Suggestion search results

    [% IF (numresults_sugg) %] [% INCLUDE 'table-pager.inc' perpage='10' %] @@ -89,7 +104,7 @@ $(function(){
    -

    Catalog Search Results

    +

    Catalog search results

    [% IF (numresults_bib) %] [% INCLUDE 'table-pager.inc' perpage='10' %] @@ -114,27 +129,21 @@ $(function(){ [% ELSE %] -

    No Result

    +

    Please enter search terms.

    [% END %]
    -
    +
    -

    Filter Results:

    +

    Find duplicates:

    1. -
    2. -
    3. -
    4. -
    5. -
    6. -
    Clear All
    -- 1.7.2.5