]> git.koha-community.org Git - koha.git/commit
Bug fix to OPAC shelf browsing query statement
authorDavid Birmingham <dbirmingham@ptfs.com>
Thu, 30 Apr 2009 16:54:48 +0000 (12:54 -0400)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 26 May 2009 19:15:23 +0000 (21:15 +0200)
commitc2e1684b98c1b14d631e5024e244f6910e0af827
treecea24b9cd7b6428850a47390e78ec9fc5ce6da7a
parent752ce30ddb65db78ca8ceeb9c51b4d3768ec26c6
Bug fix to OPAC shelf browsing query statement

If the items.location field was NULL, then the current
SQL query would produce no results.  I have turned this
into a conditional block that removes the location condition
in the query if the location is not specified.

In addition, there was a small change to opac-detail.tmpl
that changed Library to Shelves when the shelf browser was
open.  This removes a potential redundant Library Library
display if Library is contained in the starting_homebranch.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
opac/opac-detail.pl