Koha/C4
Ian Walls 90392c19cc Bug 5990: Lists and Cart show LOC code not Location Authorized value
Lists in the OPAC, and Cart on both sides, show the LOC code for items, rather
than the appropriate Description from Authorised Values.  This is because the
code uses GetItemInfo, which is a very heavy-weight call to only retrieve some
of the desired information.

This patch introduces a new subroutine in C4::Items, GetItemsLocationInfo, which
returns the branch names for both home- and holdingbranches, the location code,
both opac and intranet location descriptions, itemcallnumber and cn_sort. This
should be used instead of GetItemsInfo in any case where the locational
information is all that's required, as it's much more streamlined and efficient.

In the OPAC Lists, this only applies if OPACXSLTResultsDisplay is 'off' (set to
'normal').

Signed-off-by: Jared Camins-Esakov <jcamins@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-04-01 12:07:46 +13:00
..
AuthoritiesMarc Bug 5385: POD Cleanups (part 1) 2010-11-12 10:06:55 +13:00
Barcodes Bug 5385 - Fixing an error that crept in with the POD cleanup 2010-11-12 10:42:19 +13:00
Cache Bug 5385: POD Cleanups (part 1) 2010-11-12 10:06:55 +13:00
ClassSortRoutine Bug 4265: Fix padding of short callnumbers and Bib-1 attribute for sorting 2011-03-29 21:54:12 +13:00
Creators bug 4306: respect item-level_itypes when displaying item label batches 2011-02-14 10:09:05 +13:00
External Bug 5385: POD Cleanups (part 1) 2010-11-12 10:06:55 +13:00
Form Bug 5889: Messages name in english for notifications on public interface. 2011-03-18 09:25:08 +13:00
Heading Bug 5385: POD Cleanups (part 1) 2010-11-12 10:06:55 +13:00
ILSDI Bug 5450 Avoid a name clash in ILSDI modules 2010-12-01 10:05:51 +13:00
Installer bug 5389: mark Business::ISBN as a required dependency 2010-11-12 14:31:56 +13:00
Labels fixing various links to point to *.koha-community.org 2010-10-21 22:08:24 -04:00
Members Bug 5595 : Fixing a security glitch (please always use placeholders or 2011-03-13 20:30:13 +13:00
Output Fix FSF address in directory C4/ 2010-03-16 20:17:56 -04:00
Patroncards fixing various links to point to *.koha-community.org 2010-10-21 22:08:24 -04:00
Reports Merge remote branch 'kc/new/biblibre_reports' into kcmaster 2010-12-14 06:31:00 +13:00
Search Bug 5385: POD Cleanups (part 1) 2010-11-12 10:06:55 +13:00
SIP Merge remote branch 'kc/new/bug_5586' into kcmaster 2011-01-24 07:21:47 +13:00
tests Bug 2505 - Add commented use warnings where missing in the C4/ directory 2010-04-21 20:25:32 +12:00
VirtualShelves Bug 5990: Lists and Cart show LOC code not Location Authorized value 2011-04-01 12:07:46 +13:00
Accounts.pm fixing various links to point to *.koha-community.org 2010-10-21 22:08:24 -04:00
Acquisition.pm (bug #3737) fix title search in order history 2011-01-11 08:57:07 +13:00
Auth.pm Fix for Bug 5833, opacstylesheet not loading on all pages 2011-03-29 21:58:14 +13:00
Auth_with_cas.pm MT3186: Remove warnings from Auth_with_cas 2010-04-23 06:55:13 -04:00
Auth_with_ldap.pm bug 4256: fix patron replication when using LDAP with auth_by_bind 2010-04-30 17:05:38 -04:00
AuthoritiesMarc.pm Bug 5926 : Fixing Hierarchies : taking any heading subfield 2011-03-27 20:51:59 +13:00
BackgroundJob.pm replace references to defunct info email address 2010-06-25 05:18:44 -04:00
Barcodes.pm Bug 5681: Fixes leading zeroes in Add Mulpiple Copies 2011-02-03 10:08:50 +13:00
Biblio.pm Bug 4366: Improve COinS support for MARC21 2011-03-29 12:16:46 +13:00
Bookseller.pm Bug5063: C4::Bookseller Changes 2011-03-12 08:42:26 +13:00
Boolean.pm Bug 5448: Refactor Boolean.pm 2010-12-02 08:51:33 +13:00
Branch.pm Bug 5634: BZ5634 order branch list alphabetically, without taking care of uc/lc 2011-01-20 19:49:34 +13:00
Breeding.pm Fix for Bug 4290 - search for author in repository 2011-03-06 08:22:06 +13:00
Budgets.pm Bug 5084 - hide funds that are part of an inactive budget 2010-12-14 15:07:51 +13:00
Cache.pm Bug 5363 - Removing unused module (C4::Cache::FastMemcached) 2010-11-04 20:05:36 +13:00
Calendar.pm Fix for Bug 4991, Overhaul of Calendar interface 2010-11-02 15:02:54 +13:00
Category.pm POD Cleanups 2010-06-09 08:38:59 -04:00
Charset.pm NormalizeString POD Fixing and variable renaming 2011-02-18 10:39:56 +13:00
Circulation.pm Merge remote branch 'kc/new/enh/bug_5548' into kcmaster 2011-04-01 09:12:58 +13:00
ClassSortRoutine.pm replace references to defunct info email address 2010-06-25 05:18:44 -04:00
ClassSource.pm replace references to defunct info email address 2010-06-25 05:18:44 -04:00
Context.pm remove old revision history notes from a couple files 2010-06-25 05:18:44 -04:00
Contract.pm replace references to defunct info email address 2010-06-25 05:18:44 -04:00
Creators.pm Fix some compile time errors reported in test suite 2010-12-02 08:53:53 +13:00
Csv.pm Bug 2505 - Add commented use warnings where missing in *.pm 2010-04-21 20:28:51 +12:00
Dates.pm Fix for Bug 4473 - Recent comments view for the OPAC 2010-12-13 09:43:01 +13:00
Debug.pm More POD cleanups 2010-06-09 08:38:58 -04:00
Heading.pm replace references to defunct info email address 2010-06-25 05:18:44 -04:00
ImportBatch.pm Bug 5065 Add ability to choose framework on import 2011-03-21 20:36:35 +13:00
Input.pm replace references to defunct info email address 2010-06-25 05:18:44 -04:00
Installer.pm replace references to defunct info email address 2010-06-25 05:18:44 -04:00
ItemCirculationAlertPreference.pm POD Cleanups 2010-06-09 08:38:59 -04:00
Items.pm Bug 5990: Lists and Cart show LOC code not Location Authorized value 2011-04-01 12:07:46 +13:00
ItemType.pm POD Cleanups 2010-06-09 08:38:59 -04:00
Koha.pm Merge remote branch 'kc/new/enh/bug_5880' into kcmaster 2011-03-24 22:09:50 +13:00
Labels.pm Bringing label, patroncard, and creator modules into conformity with the rest of C4 style. 2010-02-08 20:54:34 -05:00
Languages.pm bug 4188: move PDF templates for printed purchase orders 2010-07-02 08:49:44 -04:00
Letters.pm Bug 3203: ACCTDETAIL notices don't parse branches or borrowers tokens 2011-03-28 21:26:29 +13:00
Log.pm replace references to defunct info email address 2010-06-25 05:18:44 -04:00
Maintainance.pm replace references to defunct info email address 2010-06-25 05:18:44 -04:00
Matcher.pm replace references to defunct info email address 2010-06-25 05:18:44 -04:00
Members.pm Bug 5547: Hide Lost Items dev 2011-03-30 20:20:05 +13:00
Message.pm POD Cleanups 2010-06-09 08:38:59 -04:00
NewsChannels.pm Fix FSF address in directory C4/ 2010-03-16 20:17:56 -04:00
Output.pm Bug 3326: Staff results still displayed &amp; 2011-03-29 12:12:20 +13:00
Overdues.pm Bug 4330 : Adding some copyright BibLibre statements 2011-03-21 10:57:20 +13:00
Patroncards.pm Fix some compile time errors reported in test suite 2010-12-02 08:53:53 +13:00
Print.pm replace references to defunct info email address 2010-06-25 05:18:44 -04:00
Record.pm Bug 4330 : Adding some copyright BibLibre statements 2011-03-21 10:57:20 +13:00
Reports.pm More POD cleanups 2010-06-09 08:38:58 -04:00
Reserves.pm Bug 4330 : Adding some copyright BibLibre statements 2011-03-21 10:57:20 +13:00
Review.pm Fix for Bug 4473 - Recent comments view for the OPAC 2010-12-13 09:43:01 +13:00
Ris.pm remove a bunch of unconditional debug warns 2010-07-02 10:57:08 -04:00
RotatingCollections.pm Fix some compile time errors reported in test suite 2010-12-02 08:53:53 +13:00
Scheduler.pm POD Cleanups 2010-06-09 08:38:59 -04:00
Scrubber.pm Bug 5611: Simple typo fix in the comments 2011-01-13 08:17:27 +13:00
Search.pm Bug 5547: Hide Lost Items dev 2011-03-30 20:20:05 +13:00
Serials.pm Bug 5932 Remove itemdata sub from C4::Serials 2011-03-27 20:48:53 +13:00
Service.pm POD Cleanups 2010-06-09 08:38:59 -04:00
ShelfBrowser.pm Bug 5551 - allow shelf browser filters to be changed 2011-01-21 11:08:42 +13:00
SMS.pm More POD cleanups 2010-06-09 08:38:58 -04:00
SQLHelper.pm POD Cleanups 2010-06-09 08:38:59 -04:00
Stats.pm replace references to defunct info email address 2010-06-25 05:18:44 -04:00
Suggestions.pm Bug 5944 : (MT #3000) new cronjob script to delete old suggestions 2011-03-24 22:10:20 +13:00
Tags.pm More POD cleanups 2010-06-09 08:38:58 -04:00
UploadedFile.pm replace references to defunct info email address 2010-06-25 05:18:44 -04:00
Utils.pm Big LDAP changes, module test for Context.pm, still more yet to come. 2007-12-04 17:27:06 -06:00
VirtualShelves.pm Fix for Bug 3523 - Menu of existing lists limited to 10 2011-03-31 21:08:40 +13:00
XISBN.pm Fix for Bug 5570 - item types not showing on other editions 2011-01-07 14:18:09 +13:00
XSLT.pm Bug 4276: XSLT subject tracings only use subfield a 2011-03-28 09:47:05 +13:00
Z3950.pm fixing various links to point to *.koha-community.org 2010-10-21 22:08:24 -04:00