Summary: | Empty cart in intranet when session is closed | ||
---|---|---|---|
Product: | Koha | Reporter: | Chris Cormack <chris> |
Component: | Staff interface | Assignee: | Paul Poulain <paul.poulain> |
Status: | CLOSED FIXED | QA Contact: | Bugs List <koha-bugs> |
Severity: | enhancement | ||
Priority: | PATCH-Sent (DO NOT USE) | CC: | gmcharlt, nengard |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Attachments: |
Proposed Patch
Proposed follow-up fix |
Description
Chris Cormack
2011-02-10 01:58:38 UTC
Created attachment 3119 [details] [review] Proposed Patch Pushed, please test Logging out now prompts the user "Are you sure you want to empty your card?" even if there isn't anything in the cart. Created attachment 3124 [details] [review] Proposed follow-up fix I suggest we eliminate the prompt altogether: assume that if the user is logging out that the cart should be emptied. This patch lets us pass a "true" parameter to the delBasket function to bypass the confirmation prompt. I tested the follow up but it's still prompting me to say okay when i log off and it's way way way way annoying. nevermind - shift refresh did the trick. signing off! Follow up patch pushed, please test and mark resolved |