http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7401
--- Comment #1 from Ian Walls <[email protected]> 2012-01-04 17:23:25 UTC --- Created attachment 7040 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7040 Proposed Patch ENH 7401: Shelving Location facet instead of Libraries facet when 1 branch only If only a single branch has been configured in the system, it doesn't make sense to show a Libraries facet. A facet of shelving locations within the library would be more helpful to guide users to where to get resources This patch adds Location facets to both the OPAC and staff side only 1 branch is configured. To handle the OPAC v. staff side labels for location codes, a parameter has been added to getRecord in C4::Search. the optional $opac parameter is the last to be passed; 1 indicates OPAC, 0 or undef for staff side. To test: 1. On a system with a single branch, define a shelving location with different OPAC and staff client text 2. perform a search that will retrive some items with that shelving location a. on the OPAC side, you should get OPAC text in the facets b. on the staff side, you should get staff text 3. Add a new branch to the system 4. Repeat the search. Should get the Libraries facet instead of the Locations facet -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
