[koha-commits] main Koha release repository branch 19.05.x updated. v19.05.10-21-g0f293662c3

Git repo owner gitmaster at git.koha-community.org
Mon May 11 23:56:17 CEST 2020


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, 19.05.x has been updated
       via  0f293662c37f76408ac2c4b952c6160dbdb9f014 (commit)
       via  70447d05deb6cd688d76aaf0f865ea8a8642ff15 (commit)
      from  a43184de5e1a048476297541d3adacc14faf4160 (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 0f293662c37f76408ac2c4b952c6160dbdb9f014
Author: Lucas Gass <lucas at bywatersolutions.com>
Date:   Mon May 11 21:27:29 2020 +0000

    Bug 20754: DBRev 19.05.11.001
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

commit 70447d05deb6cd688d76aaf0f865ea8a8642ff15
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Fri May 4 10:42:38 2018 +0200

    Bug 20754: DB revision to remove double accepted shares
    
    [Originally submitted for bug 11943, parked at 20754.]
    [Attempt to revive it now.]
    
    Although it is no problem to have them, we could do a cleanup.
    This patch just removes duplicate rows from the table.
    
    Note: I considered adding a unique index like:
        ALTER TABLE virtualshelfshares ADD UNIQUE INDEX (shelfnumber, borrowernumber, invitekey);
    But the possible NULL values in borrowernumber and/or invitekey require
    additional code changes. So I left it alone.
    
    Test plan:
    [1] Create two records with same borrowernumber and shelfnumber in the shares
        table, if not present already.
    [2] Run updatedatabase.pl
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Joy Nelson <joy at bywatersolutions.com>
    (cherry picked from commit ba3bed7afe84b9e5278bed0aa12d71bfc82b4c9d)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

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

Summary of changes:
 Koha.pm                                |  2 +-
 installer/data/mysql/updatedatabase.pl | 12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list