Bug 26661 - Cities and Towns dropdown in patron editor should focus by default on logged in library city/town
Summary: Cities and Towns dropdown in patron editor should focus by default on logged ...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-12 20:15 UTC by Christopher Brannon
Modified: 2020-10-12 20:15 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Brannon 2020-10-12 20:15:45 UTC
When entering new patrons, there is high probability that the patron being entered is from the same town as the logged in library on the staff interface.  However, when you open the dropdown, the list always starts from the top.  If you have a long list, it's a lot of scrolling and searching.  We could eliminate a lot of that searching by defaulting the position to the same or closest zipcode to the logged in library (if that information is entered in the library details).  All the code needs to do is look at the logged in library, look at that library's zipcode, and if it exists, open up the dropdown in or near that same zipcode based on numerical value.