Bug 3790 - Fix item sort to be by library in OPAC record display, XSLT fix for call number spacing
Summary: Fix item sort to be by library in OPAC record display, XSLT fix for call numb...
Status: CLOSED WONTFIX
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: master
Hardware: PC All
: PATCH-Sent (DO NOT USE) enhancement (vote)
Assignee: Jane Wagner
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-17 06:06 UTC by Jane Wagner
Modified: 2012-10-26 00:51 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
screenshot of OPAC branch sort/column change (41.70 KB, image/jpeg)
2009-11-17 18:06 UTC, Chris Cormack
Details
patch file (5.18 KB, application/octet-stream)
2009-11-17 18:27 UTC, Chris Cormack
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Cormack 2010-05-21 01:15:01 UTC


---- Reported by jwagner@ptfs.com 2009-11-17 18:06:59 ----

Created an attachment
screenshot of OPAC branch sort/column change

Related to the problem in http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3702, the OPAC individual record display is not presently sorting by library/branch name.  It's sorting on the first column in the item table, which is item type.  Owen Leonard is planning a more comprehensive fix for this problem; for now I've done a template change which puts the library/branch Location column first.  This will sort the holdings in alphabetical order by library/branch.

I've also done a minor change to the MARC21slim2OPACResults.xsl file, to put a space between the holding library and call number in the "Availability" line.  Previously there was no space so that the library name and call number ran together, like Public Library[MYS DAHEIM] (1).



---- Additional Comments From jwagner@ptfs.com 2009-11-17 18:27:58 ----

Created an attachment
patch file





---- Additional Comments From jwagner@ptfs.com 2009-11-17 18:28:15 ----

Patch sent November 17, 2009.



---- Additional Comments From jwagner@ptfs.com 2010-05-12 13:52:19 ----

The fix for this bug (in ptfs-harley) can be pulled from the public git repository at http://github.com/Koha-PTFS, branch http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3790




--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:15 UTC  ---

This bug was previously known as _bug_ 3790 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3790
Imported an attachment (id=1575)
Imported an attachment (id=1576)

Unknown operating system Windows 2000. Setting to default OS "All".
Actual time not defined. Setting to 0.0
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here: chris@bigballofwax.co.nz.
   Previous reporter was jwagner@ptfs.com.
The original assignee of this bug does not have
   an account here. Reassigning to the default assignee
   for the component, chris@bigballofwax.co.nz.
   Previous assignee was jwagner@ptfs.com.
Bug reassigned, setting status to "NEW".
   Previous status was "ASSIGNED".
The original submitter of attachment 1575 [details] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.
The original submitter of attachment 1576 [details] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.

Comment 1 claire.hernandez@biblibre.com 2011-04-04 10:16:45 UTC
Commit Body is:
--------------------------
Bug 3790 Fix OPAC branch sort on record details, minor XSLT fix

Modifies opac-detail.tmpl to swap the item type and location columns; the system sorts the display based on the first column in line, so moving the location to first makes it sort on library/branch name.

Also added a space in the XSLT display between holding library and call number (to fix problem of display looking like Public Library[MYS DAHEIM].
--------------------------
Apply? [y]es/[n]o/[e]dit/[v]iew patch/[a]ccept all y
Applying: Bug 3790 Fix OPAC branch sort on record details, minor XSLT fix
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
CONFLICT (content): Merge conflict in koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl
Auto-merging koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl
CONFLICT (content): Merge conflict in koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl
Failed to merge in the changes.
Patch failed at 0001 Bug 3790 Fix OPAC branch sort on record details, minor XSLT fix
Comment 2 Jared Camins-Esakov 2012-02-13 13:21:03 UTC
The Harley integration project has been stalled for some time.