Created attachment 13271 [details] Example of location codes where staff and OPAC displays differ Koha allows us to display authorized values for Location in two different ways, one for the OPAC one for the staff interface. The Cart in the staff interface should display the locations that ordinarily display in the staff interface. But it seems to be pulling the location information from the Display (OPAC) line. In the example attached the staff location descriptions are much more specific, enabling staff to retrieve material from the correct storage location. In the OPAC these are marked 'storage' When staff use the Cart function to create a list of items to retrieve, they need the specific location, which is normally available in Staff interface, but unfortunately all they get is the OPAC version of this information.
Created attachment 29763 [details] [review] Bug 9013 - Cart in staff interface displays location pulled from Description (OPAC) When the cart in the staff client pulls description data for items.location and items.ccode it pulls the value designated for the OPAC--probably a cut-and-paste error when the feature was added to the staff client. This patch removes the 'opac' parameter from GetKohaAuthorisedValues. To test you must have at least one LOC authorized value configured to have different descriptions for staff and OPAC. Locate or edit an item with that shelving location and add that record to the cart in the staff client. When you view the cart, the shelving location description in the "Items" column should show the description for the staff client, not the OPAC.
Created attachment 30643 [details] [review] [SIGNED OFF] Bug 9013 - Cart in staff interface displays location pulled from Description (OPAC) When the cart in the staff client pulls description data for items.location and items.ccode it pulls the value designated for the OPAC--probably a cut-and-paste error when the feature was added to the staff client. This patch removes the 'opac' parameter from GetKohaAuthorisedValues. To test you must have at least one LOC authorized value configured to have different descriptions for staff and OPAC. Locate or edit an item with that shelving location and add that record to the cart in the staff client. When you view the cart, the shelving location description in the "Items" column should show the description for the staff client, not the OPAC. Signed-off-by: Nick Clemens <nick@debian>
Created attachment 30662 [details] [review] [PASSED QA] Bug 9013 - Cart in staff interface displays location pulled from Description (OPAC) When the cart in the staff client pulls description data for items.location and items.ccode it pulls the value designated for the OPAC--probably a cut-and-paste error when the feature was added to the staff client. This patch removes the 'opac' parameter from GetKohaAuthorisedValues. To test you must have at least one LOC authorized value configured to have different descriptions for staff and OPAC. Locate or edit an item with that shelving location and add that record to the cart in the staff client. When you view the cart, the shelving location description in the "Items" column should show the description for the staff client, not the OPAC. Signed-off-by: Nick Clemens <nick@debian> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Works as described, no problems found.
Patch pushed to master. Thanks Owen!