Bug 6853

Summary: branch set wrong in fast add
Product: Koha Reporter: Nicole C. Engard <nengard>
Component: CatalogingAssignee: Galen Charlton <gmcharlt>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: critical    
Priority: P5 - low CC: koha.sekjal, kyle.m.hall
Version: 3.6   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Nicole C. Engard 2011-09-07 16:14:06 UTC
We discovered that when you create a Fast Add/Temp record from Cataloging > New
Record > Fast Add the Set Library defaults to Atchison (the first branchcode in
the table), rather than the Set Library for that session.  

When you create a Fast Add/Temp record for Circulation, the Set Library
defaults correctly.  

When you create any other kind of framework record from Cataloging, the Set
Library defaults correctly.

Looks like addbiblio.pl was modified to take the branch in from the circulation
page (according to the new Fast Add at barcode scan dev we reimplemented from
Harley), but that parameter is absent if you come at Fast Add from Circulation
-> Fast Add or Cataloging.  I think this can be fixed with a simple "default"
value set on these lines:

addbiblio.pl line 862
additems.pl line 592