Bug 7809 - Edit Items screen should be sorted by home branch instead of holding branch
Summary: Edit Items screen should be sorted by home branch instead of holding branch
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Galen Charlton
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-22 21:42 UTC by Liz Rea
Modified: 2015-06-04 23:23 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Liz Rea 2012-03-22 21:42:47 UTC
The edit items screen should sort the same as the bib detail page - by home branch instead of by holding branch.
Comment 1 Owen Leonard 2013-08-02 20:06:37 UTC
Is this as simple as changing line 722 from this:

my ($holdingbrtagf,$holdingbrtagsubf) = &GetMarcFromKohaField("items.holdingbranch",$frameworkcode);


to this:

my ($holdingbrtagf,$holdingbrtagsubf) = &GetMarcFromKohaField("items.homebranch",$frameworkcode);

? 

Or does that have a ramification I'm not seeing?
Comment 2 Liz Rea 2014-01-17 23:57:44 UTC
Probably has the ramification that someone will want it to be a syspref so they can switch which way it sorts.
Comment 3 Owen Leonard 2014-07-18 14:39:23 UTC
I think this bug has been made obsolete by the addition of the DataTables plugin to the edit items screen. The table may not have a specific default sort, but it can be sorted.