Summary: | shelfpage renders OPAC XSLT bloc for intranet Lists | ||
---|---|---|---|
Product: | Koha | Reporter: | Ian Walls <koha.sekjal> |
Component: | Architecture, internals, and plumbing | Assignee: | Ian Walls <koha.sekjal> |
Status: | CLOSED FIXED | QA Contact: | Bugs List <koha-bugs> |
Severity: | normal | ||
Priority: | PATCH-Sent (DO NOT USE) | CC: | chris, m.de.rooy, paul.poulain |
Version: | 3.6 | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | |||
Bug Blocks: | 7119 | ||
Attachments: |
Proposed Patch
Bug 7076: Lists render OPAC XSLT on staff side |
Description
Ian Walls
2011-10-21 15:41:36 UTC
Created attachment 6018 [details] [review] Proposed Patch Adds a check for $type eq 'opac' before rendering OPAC XSLT Updating Version : This ENH will be for Koha 3.8 Bug versionned for master. entries will be made against rel_3_8 once the patch has been applied (see thread about that on koha-devel yesterday) Created attachment 6107 [details] [review] Bug 7076: Lists render OPAC XSLT on staff side Adds a small check in C4::VirtualShelves::Page::shelfpage to only render OPACResultsXSLT if the $type is 'opac'. Since parsing the XML is such an expensive thing, and the resulting XSLTBloc is not used on the staff side, this will increase performance for Lists in the intranet Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Taking the liberty as QAA to set this to Passed QA (for the first time..) I would not call this an enhancement BTW; it is a bug fix (no longer wasting performance). Therefore changing importance. |