koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] Inconsistent Display of Search Results


From: Chris Cormack
Subject: Re: [Koha-devel] Inconsistent Display of Search Results
Date: Sat Mar 30 16:57:11 2002
User-agent: Mutt/1.3.25i

On Sun, Mar 31, 2002 at 12:49:54PM +1200, Chris Cormack said:
> On Sun, Mar 31, 2002 at 10:42:32AM +1000, Roger Buck said:
> > 
> > Yes it does make sense... but when I enter stuff here, nothin shows - in
> > Bilio Record, Total number of items always = 0
> > 
> > Another addbooks.pl problem?
> > 
> I just sent a message to you off list about this.
> 
> Its actually to do with ItemInfo which is in Search.pm which is called by
> detail.pl.
> 
> ItemInfo depends on some data in the branch table. I think this is whats
> breaking it.
> 
> Can you do a select * from branches
> and the same for biblio, biblioitems and items please?
> 
Ahh ha,

I think it is the branches, in addbooks.pl when you get the 3rd screen to
add the barcode. It gives you a list of branches.

These appear to be hardcoded into the script, they should be drawn from the
database, since you are now adding a book, to a branch that doesnt exist in
your database.
Then when you get to detail.pl it cant find the branch the book says it
belongs to so cant display it.

to test my theory, you could do a 
update items set holdingbranch='C';

Then detail.pl should be working. Meanwhile ill go get addbooks to pull the
branch list from the db

Chris
-- 
Chris Cormack                                                     Programmer
025 500 789                                        Katipo Communications Ltd
address@hidden                                          www.katipo.co.nz



reply via email to

[Prev in Thread] Current Thread [Next in Thread]