Go to file
Koustubha Kale e4cbc4f421 Bug 5418: Rev-5 patch new itemBarcodeInputFilter for libsuite8 style barcodes
In India a ILS product called Libsuite8 prints barcodes like b0007432. The barcode is not stored anywhere in libsuite8's database. Neither is barcode available in any of the reports generated by the software.

The barcode 'b0007432' when scanned into the libsuite8 software is de-constructed like 'b' which is the itemtype i.e. Book in this instance, and '7432' which is the 'Accession Number'. The software then takes the logged in staff's branchcode and does a join on three tables 'Location', 'Media_Type', and 'Books' to retrieve the particular record from the database.

There is no possibility of recreating the barcodes for insertion in Koha while doing a retrospective conversion, because of arbitrary length of the barcode string AND arbitrary number of zeros in the numeric part of the printed barcode AND the fact that there are no reports available from the software which contain barcodes AND the fact that the barcode is not stored in the database.
But most importantly due to the simple fact that printed barcodes are duplicated among branches.

Therefore this patch emulates the functionality of Libsuite8 software of converting the scanned barcode into one stored in Koha using the itemBarcodeInputFilter system preference.

To use this new itemBarcodeInputFilter systempreference choice called 'libsuite8', the barcodes stored in Koha must match the pattern of <branchcode>-<itemtype_code>-<accession_number>. This is easy to achieve while doing retrospective conversion from Libsuite8 to Koha.

As expected the itemBarcodeInputFilter will return unmodified barcode if presented with a barcode of pattern <branchcode>-<itemtype_code>-<accession_number>

This revision corrects the way updatedatabase.pl is changed in order to correctly update version and insert the libsuite8 option in the database. Also kohaversion.pl is changed in the recommended format of 3.0X.0X.XXX to reflect database has changed.

This revision also changes the erronorous itemBarcodeInputFilter description in koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref from 'scanned patron barcodes' to 'scanned item barcodes' there by eliminating need for a separate patch for bug 5417.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>

1) applied patch to HEAD
2) set next database number in kohaversion.pl and updatedatabase.pl
3) webinstaller kicked in, update ok
4) typed the barcodes from test cases into check-in

Barcodes used my local branch code, everything seemed ok to me.
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2010-12-12 20:39:20 +13:00
C4 Bug 5418: Rev-5 patch new itemBarcodeInputFilter for libsuite8 style barcodes 2010-12-12 20:39:20 +13:00
acqui Bug 5104: Add control number as search option to acq z39.50 search 2010-12-03 12:32:32 +13:00
admin Bug 4500 - remove commas from price formatting 2010-12-12 20:16:06 +13:00
authorities Bug 2122 follow-up for authorities editor 2010-11-17 21:21:32 +13:00
basket Bug 5105 - Remove use of depreciated Switch module 2010-11-11 11:32:02 +13:00
catalogue bug 5405: remove disused script catalogue/suggest.pl 2010-12-02 09:12:31 +13:00
cataloguing Fix for Bug 2122, Grayed out Fields not always visible 2010-11-17 21:21:29 +13:00
circ Bug 5396: New system preference UseTablesortForCirc 2010-11-13 19:53:12 +13:00
debian Bug 5322 - Added pwgen dependency 2010-10-30 20:03:53 +13:00
docs Adding 3.2.1 release to the history 2010-12-02 08:55:55 +13:00
errors Housekeeping in errors scripts 2010-05-12 07:29:03 -04:00
etc Bug 5370: Fix all references to koha.org 2010-11-09 10:45:27 +13:00
install_misc Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
installer Bug 5418: Rev-5 patch new itemBarcodeInputFilter for libsuite8 style barcodes 2010-12-12 20:39:20 +13:00
koha-tmpl Bug 5418: Rev-5 patch new itemBarcodeInputFilter for libsuite8 style barcodes 2010-12-12 20:39:20 +13:00
labels Bug 5385: POD Cleanups (part 1) 2010-11-12 10:06:55 +13:00
members Merge remote branch 'kc/new/bug_5030' into kcmaster 2010-12-02 09:20:14 +13:00
misc Bug 5457: gather_print_notices.pl requires explicit stylesheet 2010-12-07 08:57:28 +13:00
offline_circ Bug 5385: POD Cleanups (part 2) 2010-11-12 10:06:56 +13:00
opac bug 4908: rename temlate variable to branchname 2010-12-03 12:40:27 +13:00
patroncards Bug 5183 Incorrect hash dereferencing syntax causes an error to be thrown when attempting to export patron cards 2010-09-10 18:28:54 -04:00
reports Bug 5385: POD Cleanups (part 2) 2010-11-12 10:06:56 +13:00
reserve Bug 4449: AllowHoldPolicyOverride does not override all hold policies 2010-12-02 08:35:58 +13:00
reviews Modifying Members : Add Mod and GetMember 2009-09-30 11:29:23 +02:00
rotating_collections Bug 2505 - Add commented use warnings where missing in the rotating_collections/ directory 2010-04-21 20:25:39 +12:00
selenium Adding selenium tests for filterMembers 2009-09-30 11:30:37 +02:00
serials Bug 5022 Supplements were not saved correctly 2010-12-12 20:13:59 +13:00
skel installer: fixed chown invocation; added skel for KOHA_LOG_DIR 2007-12-17 09:13:53 -06:00
sms Bug 2505 - Add commented use warnings where missing in the sms/ directory 2010-04-21 20:25:08 +12:00
suggestion Fix for 4832 - Re-editing a suggestion changes the item type 2010-12-12 08:00:44 +13:00
svc bug 4896: granular permissions now always on (DB rev 138) 2010-06-19 07:56:03 -04:00
t Bug 5418: Rev-5 patch new itemBarcodeInputFilter for libsuite8 style barcodes 2010-12-12 20:39:20 +13:00
tags Fix for Bug 2377 - Review tags: format date according to system preference 2010-10-06 09:31:56 -04:00
test bug 5309: tweak so that background progress doesn't exit immediately 2010-10-26 12:14:46 -04:00
tmp/modified_authorities changing DO_NOT_REMOVE to README.txt 2007-10-21 19:14:41 -05:00
tools Fix for Bug 4851 - Batch delete shouldn't show delete button if no items were found 2010-12-03 12:47:12 +13:00
virtualshelves Bug 5105 - Remove use of depreciated Switch module 2010-11-11 11:32:02 +13:00
xt fixing various links to point to *.koha-community.org 2010-10-21 22:08:24 -04:00
.htaccess Fix file permissions: if it is not a script, it should not be executable. 2010-04-16 00:40:34 -04:00
INSTALL updated to installation instructions 2010-10-21 23:40:08 -04:00
INSTALL.debian updated to installation instructions 2010-10-21 23:40:08 -04:00
INSTALL.fedora7 fixing various links to point to *.koha-community.org 2010-10-21 22:08:24 -04:00
INSTALL.opensuse corrected links to mailing lists 2010-05-24 08:26:20 -04:00
INSTALL.ubuntu updated to installation instructions 2010-10-21 23:40:08 -04:00
INSTALL.ubuntu.lucid updated to installation instructions 2010-10-21 23:40:08 -04:00
LICENSE Update LICENSE with a fresh copy from upstream. This updates the FSF address, and refers to the LGPL with its current name, and changes a few other minor things of the typographical sort. No semantic changes. 2010-03-16 20:17:48 -04:00
MANIFEST.SKIP Bug Fixing : 3334 2009-06-19 06:33:34 -05:00
Makefile.PL Bug 5385: POD Cleanups (part 1) 2010-11-12 10:06:55 +13:00
README updated links in README 2010-05-24 08:14:16 -04:00
README.robots Add instructions to INSTALL and README.robots about robots.txt 2010-02-20 17:55:59 -05:00
about.pl Enhancement Bug 4444: Centralize Code Handling Perl Dependencies 2010-05-17 09:01:51 -04:00
changelanguage.pl Bug 2617: Add strict (and warnings), partial fix. 2009-03-11 08:36:55 -05:00
edithelp.pl Fix FSF address in directory . 2010-03-16 20:17:52 -04:00
fix-perl-path.PL installer: improvements to fix-path-perl.PL on Win32 2007-12-20 19:20:12 -06:00
help.pl Fix FSF address in directory . 2010-03-16 20:17:52 -04:00
install-CPAN.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
koha_perl_deps.pl Bug 4844 Remove a circular dependency in koha_perl_deps.pl 2010-06-03 19:59:10 -04:00
kohaversion.pl Bug 5418: Rev-5 patch new itemBarcodeInputFilter for libsuite8 style barcodes 2010-12-12 20:39:20 +13:00
mainpage.pl remove last vestiges of NOTMARC mode 2010-10-21 21:06:52 -04:00
rewrite-config.PL Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00

README

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 2 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/