[Koha] [Koha-devel] Barcode Don't Found

Michael Hafen mdhafen at tech.washk12.org
Sat Mar 28 04:59:59 NZDT 2009


I'll attach a modified patch to do it.  You'll still have to update the
sys. pref. options to enable this feature.  Look at the changes to
installer/data/mysql/en/mandatory/sysprefs.sql for an idea of what to
set the sys. pref. to.

Good luck.

On Fri, 2009-03-27 at 11:42 -0400, Roche III, Edward wrote:
> How do you create the filter? 
> 
> Thanks!
> Ed
> 
> Edward J. Roche
> Network Administrator
> Solanco School District
> 717.786.2151 x2437
> 
> "At the End of the Day, Did You Play to Win or Not to Lose?" 
>      
> 
> 
> -----Original Message-----
> From: Michael Hafen [mailto:mdhafen at tech.washk12.org] 
> Sent: Friday, March 27, 2009 11:29 AM
> To: Roche III, Edward
> Cc: koha-devel at lists.koha.org
> Subject: Re: [Koha-devel] [Koha] Barcode Don't Found
> 
> I have in my libraries several copies with a "T " before the number part
> of the barcode.  Koha works with it fine.  I find the trick is to make
> sure what's in the Koha database and what's encoded in the barcode are
> the same.  It is possible with itemInputBarcodeFilter processing.  I've
> used that sys. pref. to strip leading spaces ( which I put in ) from
> some barcodes.
> 
> If what you want is to be able to enter just the number, or the "T " and
> the number ( like from a barcode scanner ), then I think making a custom
> itemInputBarcodeFilter ( like I did to trim leading spaces ) would be a
> good solution.
> 
> On Fri, 2009-03-27 at 10:00 -0400, Roche III, Edward wrote:
> > That is an idea but I would think there was a way to have Koha except
> > the T+space.
> > 
> > Thanks!
> > Ed
> > 
> > Edward J. Roche
> > Network Administrator
> > Solanco School District
> > 717.786.2151 x2437
> > 
> > "At the End of the Day, Did You Play to Win or Not to Lose?" 
> >      
> > 
> > 
> > -----Original Message-----
> > From: koha-bounces at lists.katipo.co.nz
> > [mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Owen Leonard
> > Sent: Friday, March 27, 2009 9:52 AM
> > To: koha at lists.katipo.co.nz
> > Subject: Re: [Koha] [Koha-devel] Barcode Don't Found
> > 
> > > Currently doing it by hand but have tried with the scanner with no
> > luck.
> > 
> > I asked because sometimes scanners are configured to add characters
> > where you might not expect them. I did a quick test in my 3.0
> > installation and didn't have any problem typing in the barcode.. I
> > don't have any prefix options specified.
> > 
> > What I wonder is if you couldn't store just the numeric portion of the
> > barcode (if it's the T+space causing the problem) and configure your
> > scanners to strip off the "T "? Of course you'd have to consult the
> > documentation for your scanners to know if that was possible. We've
> > done something similar in the past.
> > 
> >   -- Owen
> > 
-- 
Michael Hafen
Systems Analyst and Programmer
Washington County School District
Utah, USA

for Koha checkout
http://koha-dev.washk12.org
or
git://koha-dev.washk12.org/koha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-less-aggressive-whitespace-removal-to-itemBarcod.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://lists.katipo.co.nz/pipermail/koha/attachments/20090327/b882acb8/attachment.bin 


More information about the Koha mailing list