[koha-commits] main Koha release repository branch 3.16.x updated. v3.16.06-101-g8552175

Git repo owner gitmaster at git.koha-community.org
Fri Jan 23 07:55:37 CET 2015


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, 3.16.x has been updated
       via  8552175a50e4e0d9b2cbcdc18055c16a6fbebae2 (commit)
       via  e3f9cc32f4d8f09bfa3a78abe305d63f4c3cf5a7 (commit)
       via  46ec8cf5c587fcb31b73c23acdd7dfb626e0fa48 (commit)
       via  53f742420175c36c90b814d5222bb5386e0eaae1 (commit)
       via  27856064b1f857526603f8fe11ea50ca66723da0 (commit)
       via  b26f9140e96d730db2c114aa60d47c4aa3af6481 (commit)
      from  6ce2ba7b3a65f1953af8fa779da8cbf05971154f (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 8552175a50e4e0d9b2cbcdc18055c16a6fbebae2
Author: Chris Cormack <chrisc at catalyst.net.nz>
Date:   Wed Dec 31 10:20:59 2014 +1300

    Bug 13502: Code introcduced in 1861 wrongly assumes a null userid is unique
    
    To test
    
    1/ Create a borrower with '' as their userid, you may have to edit a
       row in the db to do this
    2/ Run  perl t/db_dependent/Circulation/CheckIfIssuedToPatron.t
    3/ Notice some tests fail and you see
       DBD::mysql::st execute failed: Duplicate entry '' for key 'userid'
       at /home/chrisc/git/catalyst-koha/C4/SQLHelper.pm line 184.
    4/ Apply the patch
    5/ Run the tests again, notice they now pass
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    Signed-off-by: Mason James <mtj at kohaaloha.com>

commit e3f9cc32f4d8f09bfa3a78abe305d63f4c3cf5a7
Author: Owen Leonard <oleonard at myacpl.org>
Date:   Wed Dec 10 09:02:57 2014 -0500

    Bug 13341 - Hard-coded "Preview" text in OPAC openlibrary.js
    
    The OpenLibrary JavaScript includes an untranslated string, "Preview."
    This patch move the string to the template so that it can be translated.
    
    To test, apply the patch and test that the translator picks up the
    string:
    
    1. From misc/translator run 'perl translate update [lang]' (e.g. de-DE)
    2. Edit misc/translator/po/[lang]-opac-bootstrap.po and add a
       translation for the updated "Preview" string
    3. Remove the "#, fuzzy" marker from that entry
    4. From misc/translator run 'perl translate install [lang]'
    5. Enable the [lang] translation for the OPAC in system preferences
    6. Enable the OpenLibraryCovers system preference.
    7. In the OPAC switch to the [lang] translation.
    7. View the detail page for a title for which there is an OpenLibrary
       cover image. Below it you should see a preview link with the
       translated string you added in step 2.
    
    Works as expected.
    Signed-off-by: Marc Véron <veron at veron.ch>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    Signed-off-by: Mason James <mtj at kohaaloha.com>

commit 46ec8cf5c587fcb31b73c23acdd7dfb626e0fa48
Author: Lyon3 Team <koha at univ-lyon3.fr>
Date:   Fri Dec 5 09:27:02 2014 +0100

    Bug 12895 repair dropbox mode
    
    One day late patrons were restricted even with dropbox mode activated
    
    1) Check in the calendar (Tools/Calendar), that the
       previous days you are about to use as date due are
       really entered as opening day (never know).
    2) Add a suspension in the suspension days parameter
       of the circulation rules (Administration/Circulation
       and fine rules) to the MOST specific category of
       borrower and MOST specific type of document among the
       existing rules of the LOGGED IN Site(cf explications
       in the circ-rules page).
    3) Choose a borrower using the search by category and an
       item through the advanced search using the limit by type.
    4) Checkout the item selecting the previous opening date
       in the Specify-due-date box.
    5) Click on Circulation in the upper menu, then on Checkin
       and check the Book drop mode. The Book drop date showed
       should be the previous opening date.
    6) Check in the item : you can see that the patron is restricted
    7) apply the patch
    8) Redo 1 to 5 : Now, you can see that the patron is not restricted.
    9) If you redo the test with two day late, you will see that
       the patron is not restricted : that's ok because his
       restriction of one day is already finished.
    10) If you redo the test with more than two day late, you see
        that the patron restriction is, as expected, one day shorter
        than it were if the item had been returned without dropbox mode.
    
    Signed-off-by: Nick Clemens <nick at quecheelibrary.org>
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    Signed-off-by: Mason James <mtj at kohaaloha.com>

commit 53f742420175c36c90b814d5222bb5386e0eaae1
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Fri Dec 12 12:18:47 2014 +0000

    BUG 13447: Fixed HTML Email Reports
    
    A tiny typo made in runreport.pl when updating it for bug 9530 lead to
    no body being attached to html emails.
    
    Signed-off-by: Chris <chris at bigballofwax.co.nz>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    Signed-off-by: Mason James <mtj at kohaaloha.com>

commit 27856064b1f857526603f8fe11ea50ca66723da0
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date:   Fri Dec 26 10:22:34 2014 +0100

    Bug 13458: Display the correct patron categories
    
    Bug 9811 removes useful code.
    Actually the AddPatronLists pref is not sent to the template from
    members/member.pl.
    
    To fix this issue, we can use the existing not clean way, or compare the
    syspref value directly in the template. This second solution is
    implemented in this patch.
    
    Test plan:
    1/ Set the AddPatronLists pref to 'specific'
    2/ On the patron home page (members/members-home/pl), the patron search
    result page (members/member.pl after launching a search) and on the
    checkouts page/patron search result (circ/circulation.pl after searching
    a patron using the check out), verify that the patron category list is
    the specific ones.
    3/ Test there are no regression with the AddPatronLists pref set to
    'general'.
    
    Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    Works as described and fixes the problem.
    
    Note: I am not sure if AddPatronLists makes sense -
    if you set it to general patron types, it still preselects the
    wrong category type (tried organization, a child patron category
    was selected). Also the name is confusiong nowadays with the
    Patron list feature.
    Signed-off-by: Mason James <mtj at kohaaloha.com>

commit b26f9140e96d730db2c114aa60d47c4aa3af6481
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Tue Oct 21 06:18:29 2014 -0400

    Bug 13124 - Record titles with parentheses causing label weirdness
    
    Test Plan ( using sample data included with Koha )
    1) Catalog a record and item with the title "Oh no! or, (How my
       science project destroyed the world) /"
    2) Edit the DEFAULT template
       a) Set layout type to Biblio
       b) Set data fields to "title, author, isbn, issn, itemtype,
          barcode, itemcallnumber"
       c) Set font size to 10
    3) Create a batch with just the one item you created
    4) Export the PDF with the Avery template and the DEFAULT layout
    5) Note the weirdness
    6) Apply this patch
    7) Re-export the PDF, note it's no longer weird ; )
    
    Signed-off-by: Nick Clemens <nick at quecheelibrary.org>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    Signed-off-by: Mason James <mtj at kohaaloha.com>

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

Summary of changes:
 C4/Circulation.pm                                  |    5 ++--
 C4/Labels/Label.pm                                 |    5 ++--
 C4/Members.pm                                      |   28 +++++++++++---------
 circ/circulation.pl                                |    3 ---
 circ/returns.pl                                    |   14 +++++++---
 .../prog/en/includes/patron-toolbar.inc            |    2 +-
 .../bootstrap/en/includes/opac-bottom.inc          |    1 +
 koha-tmpl/opac-tmpl/bootstrap/js/openlibrary.js    |    2 +-
 members/members-home.pl                            |    1 -
 misc/cronjobs/runreport.pl                         |   13 ++++-----
 10 files changed, 42 insertions(+), 32 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list