[koha-commits] main Koha release repository branch 3.8.x updated. v3.08.01-6-gb546bdd

Git repo owner gitmaster at git.koha-community.org
Thu May 24 00:21:10 CEST 2012


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.8.x has been updated
       via  b546bddd7b33885c40be2fc9651c5256ed260bb1 (commit)
      from  dbfd3517f4ddea4324aa16c76e180c1ffe955ba7 (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 b546bddd7b33885c40be2fc9651c5256ed260bb1
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Thu Mar 29 09:54:38 2012 -0400

    Bug 3521 - Items table in catalogue/detail.pl and cataloguing/additem.pl is sorted nonsensically
    
    Based on patch submitted by Ian Walls
    
    Items were sorted by branch, then date accessioned, in GetItemsInfo.  While this can be
    helpful in some circumstances, more often it is useful for items to be sorted first by
    their enumchron (volume/issue, if applicable) then by their copy number.  This patch changes the
    sort on GetItemsInfo to branch, enumcrhon, copynumber then date accessioned.
    
    As sorting on copynumber will be incorrect based on standard sorting ( e.g. 1, 10, 2, 20 ),
    the copynumber is now padded with leading zeros to correct the sorting ( e.g. 01, 02, 10 20 ).
    This function appears to be a standard SQL function and not a mysql-ism. I have verfified
    that is available in MySQL, Postgres, and Oracle.
    
    Signed-off-by: Liz Rea <wizzyrea at gmail.com>
    Passed t xt
    
    Item sorts appear to be correct to me based on the rubric of branch, enumchron, copynumber, then date accessioned.
    
    Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

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

Summary of changes:
 C4/Items.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list