Bug 16789

Summary: ReturnToShelvingCart should utilize a different field
Product: Koha Reporter: Christopher Brannon <cbrannon>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: CLOSED WONTFIX QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Christopher Brannon 2016-06-21 15:07:44 UTC
When using the ReturnToShelvingCart feature, it is impossible to see the item's regular shelving location, and the location skews reports based on the shelving location.  It would be better to have another field that tracks this status.  If the status is null, the shelving location shows as usual.  If it is not null, then it either can show the temporary location, or show the shelving location and the temporary location next to it in parenthesis (ie - Adult Fiction (Recently Returned)).

The field could simply be a bit, either 1 and 0 or 1 and null.  It can still refer to the ReturnToShelvingCart settings and the LOC value of CART.
Comment 1 Christopher Brannon 2016-06-21 15:38:09 UTC
I have been enlightened to the fact that the regular shelving location is stored in the permanent_location field.  A fact that wasn't very clear until I read the descriptions better.  So the report issue is moot, except for the fact that I have to update over 250 reports to the permanent_location field instead of location.

This does point out a bit of craziness in Koha, in that the term permanent location in the actual item record refers to the branch location, not a shelving location!

Anyway, a major issue still exists in that you CANNOT see the permanent_location information in the item record.  All you can see is the temporary shelving location.  This should be rectified.
Comment 2 Katrin Fischer 2016-06-22 05:36:59 UTC
Just a note: before we change to a bit - there is also a PROCESS status that uses the permanent_location mechanism.
Comment 3 Katrin Fischer 2023-09-09 21:22:46 UTC
(In reply to Christopher Brannon from comment #1)
> I have been enlightened to the fact that the regular shelving location is
> stored in the permanent_location field.  A fact that wasn't very clear until
> I read the descriptions better.  So the report issue is moot, except for the
> fact that I have to update over 250 reports to the permanent_location field
> instead of location.

I hope the reports have been fixed in the last 7 years ;)

> This does point out a bit of craziness in Koha, in that the term permanent
> location in the actual item record refers to the branch location, not a
> shelving location!

The descriptions of item subfields have been fixed since, but only for new installations. The previous permanent location is now home library.

> Anyway, a major issue still exists in that you CANNOT see the
> permanent_location information in the item record.  All you can see is the
> temporary shelving location.  This should be rectified.

The permanent location now shows on the detail page in addition to the temporary location in the staff interface.