Main Koha release repository https://koha-community.org
Find a file
Kyle M Hall b280b4890c Bug 13603 - autoBarcode setting hbyymmincr not taking month into account when looking up next increment
The hbyymmincr autoBarcode builder looks up all barcodes that begin with
any number of letters ( the branchcode ) and a two-digit year directly
afterward ( e.g. MPL15 ), then grabs the last four digits as the
increment counter. The problem is, this does not take months into
account, so unlike the description that says the system is limited to
10,000 items a month, it is limited to 10,000 items per *year*.

This situation can easily be corrected my adding the month into the
lookup ( e.g. MPL1501 ).

Test Plan:
1) Enable autoBarcode, set to hbyymmincr
2) Catalog an item, let the barcode.pl plugin generate
   the next barcode.
3) Catalog an item with the barcode MPL15009999
4) Catalog another item, use the barcode.pl plugin to
   generate the next barcode.
5) Note the barcode is generated ends with '0001' instead of the
   correct increment
6) Apply this patch
7) Repeat step 4
8) Note the barcode now ends with the correct increment

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jeanne Heicher <nppublib@pa.net>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Problem confirmed - the continuing number bit was not reset
to start counting from 1 again on the beginning of a new month.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-02-13 14:11:59 -03:00
acqui Bug 12323 [SIGNED OFF] - Acquisitions search results fixed in order of biblionumber 2015-02-10 11:12:54 -03:00
admin Bug 13401 - sort branches alphabetically in admin/authorised_values.pl 2015-02-09 13:41:33 -03:00
authorities Bug 11961 - This patch fix the QA critical error, fix the capitalization and the UNIMARC support. 2015-01-24 18:19:10 -03:00
basket Bug 13343: Embed items when send a basket/shelf 2015-02-12 15:33:11 -03:00
C4 Bug 13603 - autoBarcode setting hbyymmincr not taking month into account when looking up next increment 2015-02-13 14:11:59 -03:00
catalogue Bug 11944: decode uri_unescape data 2015-01-13 13:07:43 -03:00
cataloguing Bug 13268: the size should not be emptied in pl script 2015-02-05 14:46:41 -03:00
circ Bug 13299 - Add home library column to the holds ratios report 2015-02-09 15:24:44 -03:00
course_reserves Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
debian Bug 7904 - remove unnecessary path from SIP script 2015-02-05 14:44:48 -03:00
docs Bug 7143: Adding releases to history file 2015-01-21 11:04:09 -03:00
errors Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
etc Bug 11927 - Add greek support to CHR (followup) 2015-01-22 18:22:04 -03:00
install_misc GRS-1 deprecation leftover used by jenkins 2015-01-13 15:30:31 -03:00
installer Bug 13417: DBRev 3.19.00.011 2015-02-13 13:56:07 -03:00
Koha Bug 13019 [QA Followup] - Allow chaining 2015-02-12 15:21:13 -03:00
koha-tmpl Bug 13417: Limit the permission to delete 2015-02-13 13:52:17 -03:00
labels Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
members Bug 13602: (QA followup) take advantage of the defined-or operator 2015-02-09 13:32:50 -03:00
misc Bug 13240 [QA Followup] 2015-02-10 14:08:02 -03:00
offline_circ Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
opac Bug 13343: Embed items when send a basket/shelf 2015-02-12 15:33:11 -03:00
OpenILS Bug 9239 QA follow-up: remove stray debug code 2013-03-16 21:32:34 -04:00
patron_lists Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
patroncards Bug 13189 - Patron card creator patron search browse by last name broken by extended attributes 2015-02-12 15:35:07 -03:00
plugins Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
reports Bug 11944: Remove bad FIXME in guided_report 2015-01-13 13:07:31 -03:00
reserve Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
reviews Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
rotating_collections Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
selenium
serials Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
services Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
skel
sms Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
suggestion Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
svc Bug 13545 [QA Followup] - Complete POD documentation 2015-02-13 13:48:45 -03:00
t Bug 13019 [QA Followup] - Fix stale unit test 2015-02-12 15:21:19 -03:00
tags Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
test Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
tmp/modified_authorities
tools Bug 12543 - Add userid as matchpoint for "Import patrons" tool 2015-02-09 13:45:06 -03:00
virtualshelves Bug 13343: Embed items when send a basket/shelf 2015-02-12 15:33:11 -03:00
xt Bug 13199: follow up to fix Licence and some koha-qa errors 2014-11-20 09:47:54 -03:00
.editorconfig Bug 12545: Add EditorConfig.org file to the source tree 2014-08-22 11:07:45 -03:00
.htaccess Fix file permissions: if it is not a script, it should not be executable. 2010-04-16 00:40:34 -04:00
.mailmap Bug 13314: Follow-up for m.de.rooy in .mailmap 2014-11-26 11:16:18 -03:00
about.pl Bug 13404 [QA Followup] 2015-02-09 13:42:32 -03:00
changelanguage.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
edithelp.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
fix-perl-path.PL
help.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
INSTALL
install-CPAN.pl
INSTALL.debian
INSTALL.fedora7
INSTALL.opensuse
INSTALL.ubuntu
koha_perl_deps.pl
kohaversion.pl Bug 13417: DBRev 3.19.00.011 2015-02-13 13:56:07 -03:00
LICENSE
mainpage.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
Makefile.PL Bug 11927 - Add gr install option 2015-01-21 10:58:58 -03:00
MANIFEST.SKIP
README
README.robots Bug 6411 add another example to README.robots 2011-07-05 14:48:05 +12:00
rewrite-config.PL Bug 12031: [QA Follow-up] Undefined routine and change to koha-conf.xml 2014-10-27 10:38:11 -03:00

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 3 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/