]> 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)
committerGalen Charlton <galen.charlton@liblime.com>
Fri, 1 May 2009 22:18:27 +0000 (17:18 -0500)
commitd5d21fe1018adf6fcb1899a67e0f1f84fa3b1d25
tree94782d106bc28432bbad5728937195df27e53de0
parentd32d5bfb9b1f4f637e92c0d507d9b9f5a23f242e
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>
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
opac/opac-detail.pl