Summary: | Redirect to circulation.pl doesn't always work when switching the library (redirect from selectbranchprinter.pl) | ||
---|---|---|---|
Product: | Koha | Reporter: | Chris Nighswonger <cnighswonger> |
Component: | Circulation | Assignee: | Chris Cormack <chris> |
Status: | NEW --- | QA Contact: | Bugs List <koha-bugs> |
Severity: | enhancement | ||
Priority: | P3 | CC: | katrin.fischer, veron |
Version: | Main | ||
Hardware: | PC | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
Description
Chris Cormack
2010-05-21 00:34:29 UTC
Tested on current master the user is still redirected to a blank circulation page after setting another library. Tested on current master (3.17.00.013). Went to several pages (e.g. Reports, Reports>Items with no checkouts, Acquisitions...) Changed Library with Set option in title bar Result: Redirection back to orgination screen was OK. Hm, this seems to work sometimes, but not always. I just tried from an open patron account in staff and ended on the blank 'checkouts' page. My guess it it happens when you do a search for the patron that forwards you directly to the patron's account (cardnumber for example) - the URL doesn't include a borrowernumber then. If you switch around tabs in the patron account and back to checkouts tab, the redirect does work. Should we split this out into individual bugs for the pages it affects? Changing this one to be for the patron account as this sounds to be the issue from the initial description. Owen's comment to my original report is what happens (or happened) in the past. Redirecting to the patron account would not be desirable in all cases. For example, if I decide to set the branch when I am in one of the various other screens, I would not expect to end up back at the patron account screen, but rather at the screen I was originally at. So being redirected to the referring page would be the expected and desired action in all cases, IMHO. Since this is an enhancement request, the original bug description was intended to reflect this. I think the current description implies that selecting this link should always result in being returned to the patron account page. Hi Chris, it already redirects well in other cases - to the page you came from. I was just trying to reword this is a bit into an easier to fix bug for a known case that is not working :) |