[Bug 44216] New: Optionally remember staff login selections in the browser
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44216 Bug ID: 44216 Summary: Optionally remember staff login selections in the browser Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Staff interface Assignee: nugged@gmail.com Reporter: nugged@gmail.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com Target Milestone: --- Staff who usually sign in from the same browser have to choose their library, and optionally a circulation desk and cash register, again at each sign-in. On current main, after signing in with all three selections and logging out, the login form returns to its usual defaults. Offer a separate "Remember ... in this browser" checkbox below each available selection. Staff can opt in for any combination of the three fields. A saved desk or cash register is restored only when it is available for the selected library. Clearing a checkbox forgets that selection for future visits and leaves the current form value available for this sign-in. With ForceLibrarySelection (bug 34188), a browser with an empty preference starts with a blank, required library field. An available library that staff explicitly saved on a previous visit can satisfy that requirement. The existing IP override notice follows the library checkbox and the server continues to apply the configured IP policy. The selections are shared within the same browser profile. Verified on current main in a test instance with ForceLibrarySelection, UseCirculationDesks and UseCashRegisters enabled. Choose a library with a desk and a cash register, choose values for all three fields, sign in and log out. With the patch, check each box before signing in and verify that all three values return. Clear one checkbox and verify that just that field returns to its usual default the next time the form opens. Select a different library and verify that unavailable saved selections fall back to the defaults for that library. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44216 --- Comment #1 from Andrii Nugged <nugged@gmail.com> --- Created attachment 212270 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212270&action=edit Bug 44216: Remember staff login selections independently Offer a separate browser opt-in under each available login field. Restore a desk or cash register only when it is available at the selected library. Keep the IP notice below the library checkbox. Test plan: 1. Enable ForceLibrarySelection and StaffLoginLibraryBasedOnIP. Open staff login in a fresh browser profile. Library is blank and required. The checkbox appears next, then the IP notice. 2. Choose a library, a desk and a cash register, where configured, and check each box. Log in and out. Verify all three return. 3. Choose another library. Verify that unavailable selections for desk and cash register fall back to the usual defaults. 4. Clear each checkbox in turn. Log in and out. Verify that its previous selection is forgotten and the other opt-ins persist. 5. Clear the remembered library and turn both preferences off. The initial library choice is My library and the note is absent. Co-Authored-By: Loontik <loontik@nugged.team> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44216 Andrii Nugged <nugged@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44216 Andrii Nugged <nugged@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=26779, | |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=24786, | |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=36941 Depends on| |34188 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34188 [Bug 34188] Require library selection when logging in -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44216 --- Comment #2 from Andrii Nugged <nugged@gmail.com> --- Created attachment 212278 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212278&action=edit Staff login showing all three remember selection checkboxes -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org