]> git.koha-community.org Git - koha.git/commit
Bug 5917 follow-up: Fix staff client results display
authorJared Camins-Esakov <jcamins@bywatersolutions.com>
Sun, 10 Apr 2011 20:12:29 +0000 (16:12 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Sun, 10 Apr 2011 20:27:40 +0000 (08:27 +1200)
commitf1e96f4590b7e91e172d21d488a7ec26de1cc94e
treeae24ab5ae04f1e20e35d35f96fd8e974193adfb3
parente766a92b988c8f929121760d35fabcd89e0cfb0b
Bug 5917 follow-up: Fix staff client results display

The change to Template::Toolkit broke a number of things on the Staff Client
results display. This patch:
* Fixes the formatting of the results table, which had an unnecessary colspan=2
* Enables the display of the "Edit record" and "Edit items" links
* Corrects the display of item counts, so that labels for "Available,"
  "On loan," and "Unavailable" only appear when appropriate
* Corrects facet links, which were starting new searches rather than limiting
  due to a variable scoping error
* Changes the resort dropdown so that it will show the currently-selected
  sorting

Signed-off-by: Jared Camins-Esakov <jcamins@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc
koha-tmpl/intranet-tmpl/prog/en/includes/resort_form.inc
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt