Bug 11303

Summary: Add to Cart doesn't work in pro > MARC biblio view
Product: Koha Reporter: Frédéric Demians <f.demians>
Component: CatalogingAssignee: Galen Charlton <gmcharlt>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: fridolin.somers, katrin.fischer, m.de.rooy
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 9780    
Bug Blocks:    

Description Frédéric Demians 2013-11-26 09:41:19 UTC
To reproduce this bug:

- Do a search in pro interface
- On the result page, click on a biblio record title
- On detail page, click on MARC tab if not already selected
- Click on Add to > Cart

Nothing happens. This is due to the fact that cat-toolbar.inc JavaScript
is broken when called from MARCdetail.tt rather than detail.tt. Bug 9780
introduced two new variables countorder, and countdeletedorders, which
are populated by detail.pl but not by MARCdetail.pl.
Comment 1 Frédéric Demians 2013-11-26 15:40:08 UTC
Same issue on ISBD tab: ISBDdetail.pl.
Comment 2 Fridolin Somers 2014-05-19 12:39:25 UTC
Corrected by Bug 11829 no ?
Comment 3 Katrin Fischer 2014-11-10 22:44:36 UTC
Works on current master.