On the cgi-bin/koha/members/members-home.pl page: If a system has two branches with similar codes, for example RH and WRH, if you search for patrons at RH library, you also get results from WRH. Ideally, the search should be performing 'branchcode = "RH"', not 'branchcode LIKE "%RH%"'