Bug 7809

Summary: Edit Items screen should be sorted by home branch instead of holding branch
Product: Koha Reporter: Liz Rea <wizzyrea>
Component: CatalogingAssignee: Galen Charlton <gmcharlt>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P5 - low CC: wizzyrea
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

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.