[Koha-bugs] [Bug 7740] Highlight items in own library in search results/detail page in OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 31 14:39:09 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7740

--- Comment #7 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 13140
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13140&action=edit
Bug 7740 - Highlight items in own library in search results/detail page in OPAC
[v3.08.03]

This feature enables a particular library's items to be emphasized and moved
to the first position on the search results and details pages of the OPAC.

It is enabled by the sytem preference HighlightOwnItemsOnOPAC.

To choose which branches items are emphasized, use the system preference
HighlightOwnItemsOnOPACWhich. It has two modes.

If set to PatronBranch, the items emphasized will be those of the same
library as the patron's library. If no one is logged into the opac, no
items will be highlighted.

If set to OpacURLBranch, the library is chosen based on the Apache
environment variable BRANCHCODE.

For example, this could be added to the OPAC section of koha-httpd.conf:
SetEnv BRANCHCODE "CPL"

The point of this feature is to allow each library on a given Koha server
to have a specific subdomain for the opac where that library's items are
empasized. That was http://branch1.opac.mylibrary.org will emphasize the
items of branch1, while http://branch2.opac.mylibrary.org will emphasize
the items of branch2.

Conflicts:

    installer/data/mysql/sysprefs.sql
    installer/data/mysql/updatedatabase.pl
    koha-tmpl/opac-tmpl/prog/en/css/opac.css
    koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt
    koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt

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


More information about the Koha-bugs mailing list