[koha-commits] main Koha release repository branch new/bug_7992 created. v3.08.00-946-g6c0aa43

Git repo owner gitmaster at git.koha-community.org
Tue Oct 2 17:18:24 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, new/bug_7992 has been created
        at  6c0aa43ee1d149dc53977251dc4396d9d7cb8760 (commit)

- Log -----------------------------------------------------------------
commit 6c0aa43ee1d149dc53977251dc4396d9d7cb8760
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date:   Thu Aug 30 15:31:14 2012 +0200

    Bug 7992: New plugin stocknumberAV
    
    Bugzilla description (from delaye):
    1 / Create a list of authorised values(INVENTORY_NUMBER). In which the
    code is the prefix and the description the last number assigned.
    
    2/A space between the prefix and number.
    
    3 / From a holding record, after indicate the prefix when you click on
    the plugin -> koha search the last number from authorised values
    assigned in the list and increment n +1 level meter
    
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
    Works as advertised (see provisos below). Tested the following:
    1) INVENTORY category has only authorised value 'PR' => PR prefix filled
       in, everything else gives an error.
    2) INVENTORY category has two authorised values, both work.
    3) INVENTORY category has no authorised values, nothing is incremented
    4) Barcode contains numbers, nothing is changed.
    Two potential gotchas (neither of them significant enough to warrant
    changing, in my opinion):
    1) Prefixes must consist only of uppercase alphabetical characters.
    2) Negative numbers are padded with zeros to the left of the negative
       sign.
    
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
    Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>

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


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list