Summary: | Fast Add returns to circulation page in all cases | ||
---|---|---|---|
Product: | Koha | Reporter: | Ian Walls <koha.sekjal> |
Component: | Cataloging | Assignee: | Ian Walls <koha.sekjal> |
Status: | CLOSED FIXED | QA Contact: | Bugs List <koha-bugs> |
Severity: | normal | ||
Priority: | PATCH-Sent (DO NOT USE) | CC: | chris, koha.sekjal, nengard |
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: | ||
Circulation function: | |||
Attachments: |
Proposed Patch
[SIGNED-OFF] Bug 6861: Fast Add returns to circ/circulation.pl in all cases |
Description
Ian Walls
2011-09-09 10:44:57 UTC
Created attachment 5381 [details] [review] Proposed Patch Adds a conditional check for whether a borrowernumber has been passed; if so, then continue on to circ/circulation to complete transaction. Otherwise, remain on additem.pl as normal (we're cataloging) Created attachment 5393 [details] [review] [SIGNED-OFF] Bug 6861: Fast Add returns to circ/circulation.pl in all cases If Fast Add is accessed from either the circulation homepage or cataloguing, it should stay on the additem.pl page after saving the first item. Only when a Fast Add is done in the middle of a circulation transaction should it redirect back to circ/circulation.pl to complete that transaction. This patch adds a conditional check for a borrowernumber input param; the presense of such implies we're in the middle of a checkout. It's absense implies we should remain on additem.pl Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> Passing my own patch through QA, since it only adds a single check for a (required) parameter that is used in constructing the redirect URL... since URL won't work without that param, makes sense to check for it, right? Right? Please object if you do not agree with my doing this. Pushed, please test Seems to work. Closing. |