[Koha-bugs] [Bug 18744] New: City selector may select wrong option

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 7 17:15:32 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18744

            Bug ID: 18744
           Summary: City selector may select wrong option
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: kyle at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

The select_city select in the patron editor ( code in
member-main-address-style-us.inc ) will select the wrong option of there are
multiple options with the same city but different zipcodes. For example, let's
say a city has 3 zip codes 16001, 16002, and 16003. If I live in 16003, the
chooser will show and have selected the 16001 zip code. This is because the
"selected" modifier is set for each option if just the city is a match,
ignoring the zipcode, state and country.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list