[koha-commits] main Koha release repository branch master updated. v3.14.00-1168-g15a5140

Git repo owner gitmaster at git.koha-community.org
Mon May 5 17:26:22 CEST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  15a5140f3673185136d6465b300813ff1c0097d4 (commit)
       via  41b138b78344f3c199b9e9b50bdead5ff1cd52eb (commit)
       via  b94f375e48eb16a4a45c5ef4ae93e82c0bd0da9d (commit)
       via  f867435fbbd20a7c2a382df4500da0273ba6111f (commit)
       via  f2ad0d74240bd02ad5e33921c6207dc289f9c922 (commit)
      from  7134663f48e81260204bbc3715d0e06af41590ca (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 15a5140f3673185136d6465b300813ff1c0097d4
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Mon May 5 15:50:45 2014 +0000

    Bug 10195: (follow-up) tidying up code and eliminate warning if record does not have 942$n
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit 41b138b78344f3c199b9e9b50bdead5ff1cd52eb
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Mon May 5 15:46:48 2014 +0000

    Bug 10195: (follow-up) add blocked record template for Bootstrap
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit b94f375e48eb16a4a45c5ef4ae93e82c0bd0da9d
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Mon May 5 15:37:20 2014 +0000

    Bug 10195: (follow-up) update license; use Modern::Perl
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit f867435fbbd20a7c2a382df4500da0273ba6111f
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Mon May 5 15:35:05 2014 +0000

    Bug 10195: DBRev 3.15.00.048
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit f2ad0d74240bd02ad5e33921c6207dc289f9c922
Author: Mirko Tietgen <mirko at abunchofthings.net>
Date:   Thu Jul 4 00:50:43 2013 +0200

    Bug 10195: hide bib details page for OPAC-suppressed bibs
    
    Records hidden with OpacSuppression are filtered from the search
    results, but the opac-detail page is still visible if you know the
    biblio number. This patch hides the detail page for suppressed biblios
    by redirecting (controlled by the syspref OpacSuppressionRedirect)
    either to opac-blocked (default), explaining that the record is blocked
    (including optional explanatory text from the syspref
    OpacSuppressionMessage) or to Koha's 404 page, giving no hint that a
    biblio with that number exists in the system.
    
    Test plan:
    
    Make sure you have at least one record with 942$n == 1.
    Set OpacSuppression to "Don't hide".
    
    Do an OPAC search that should bring up your hidden record and other
    records.
      Observe that your record is found.
    Open the detail page for the record.
      Observe that it is accessible. Copy the URL for later(!).
    
    Set OpacSuppression to "Hide".
    Leave OpacSuppressionByIPRange blank.
    Set OpacSuppressionRedirect to "an explanatory page ('This record is
    blocked')."
    Leave OpacSuppressionMessage blank for now.
    Disable queryparser(!) (because of bug 10542).
    
    Do a full zebra reindex.
    
    Do an OPAC search that should bring up your hidden record and other
    records.
      Observe that your record is not found.
    Open the opac-detail URL of the record (the one you copied before).
      Observe that you are redirected to opac-blocked and it displays a
    short standard message.
    
    Edit OpacSuppressionMessage and input some text.
    Open the opac-detail URL of the record again (the one you copied
    before).
      Observe that the text you entered in OpacSuppressionMessage is
    displayed under the standard text you have seen before.
    
    Set OpacSuppressionRedirect to "the 404 error page ('Not found')."
    Open the opac-detail URL of the record again (the one you copied before).
      Observe that you are redirected to Koha's 404 error page.
    
    Signed-off-by: Owen Leonard <oleonard at myacpl.org>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

-----------------------------------------------------------------------

Summary of changes:
 installer/data/mysql/sysprefs.sql                  |    2 ++
 installer/data/mysql/updatedatabase.pl             |    8 +++++
 .../en/modules/admin/preferences/cataloguing.pref  |   11 ++++++-
 .../opac-tmpl/bootstrap/en/modules/opac-blocked.tt |   31 +++++++++++++++++++
 .../en/modules/{errors/500.tt => opac-blocked.tt}  |   22 ++++++++------
 kohaversion.pl                                     |    2 +-
 patron_lists/lists.pl => opac/opac-blocked.pl      |   28 +++++++----------
 opac/opac-detail.pl                                |   32 ++++++++++++++++++++
 8 files changed, 107 insertions(+), 29 deletions(-)
 create mode 100644 koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-blocked.tt
 copy koha-tmpl/opac-tmpl/prog/en/modules/{errors/500.tt => opac-blocked.tt} (55%)
 copy patron_lists/lists.pl => opac/opac-blocked.pl (59%)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list