squashing of params in circ/util.js

Bug #773528 reported by Jason Stephenson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned

Bug Description

In the function checkin_via_barcode2 in circ/utils.js, the function argument named params gets squashed if we print a hold_slip or hold_transit_slip. The code block to print the slip redefines params with a "var params" statement.

The attached patch renames the second params variable to be named parms.

The bug manifests itself in the client when the slip is printed. The no_change_label says "undefined is in transit" rather than "[barcode] is in transit."

The code is also available at git://<email address hidden>/jason/ILS in the params2parms branch.

Revision history for this message
Jason Stephenson (jstephenson) wrote :
Revision history for this message
Jason Etheridge (phasefx) wrote :
Changed in evergreen:
status: New → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.