[Koha-devel] {Possible SPAM} RE: [Koha] Barcode Don't Found

Michael Hafen mdhafen at tech.washk12.org
Mon Mar 30 17:11:06 CEST 2009


It can be a little tricky to read patch files.  Git diffs are a little
easier than some because they list the changed files and the number of
changes at the top.

Don't worry about the changes in sysprefs.sql.  Getting the database
updated is more important.

The change to Circulation.pm is the really important bit.  The two lines
with the '+' next to them are to be added to that file.  If you can
locate the lines around those in the file, then just copy and paste
those lines in so it looks like what's in the diff.  Then remove the
'+''s.

Good luck.

On Sat, 2009-03-28 at 08:34 -0400, Roche III, Edward wrote:
> I being dumb but where does this patch go? I found what I need to do for the sys.pref but not sure where to put the patch.
> 
> 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 12:00 PM
> To: Roche III, Edward
> Cc: koha-devel at lists.koha.org; koha at lists.katipo.co.nz
> Subject: {Possible SPAM} RE: [Koha-devel] [Koha] Barcode Don't Found
> Importance: Low
> 
> 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
-- 
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




More information about the Koha-devel mailing list