Bug 11816

Summary: dead institution/organization patron management code
Product: Koha Reporter: Galen Charlton <gmcharlt>
Component: Architecture, internals, and plumbingAssignee: Galen Charlton <gmcharlt>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
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 Galen Charlton 2014-02-21 16:43:06 UTC
There is some dead code regarding maintaining relationships between institutional patrons and the regular patrons who are members of those institutions.

Specifically:

[1] memberentry.pl, if passed an organisations parameter, attempts to store relationships in an borrowers_to_borrowers table -- which doesn't exist
[2] memberentry.pl tries to build a list of organization patrons (as defined by categorycode = 'I', although other bugs suggest that the intention is that category *type* is 'I') -- but that isn't used.
[3] circ/circulation.pl tries to do the same thing.

Consequently, I propose that this code and references to the memberofinstitution system preference be completely removed, as right now they do nothing.  Furthermore, removing the dead code opens up the field if somebody later wants to do implement patron-to-institution relationships properly.
Comment 1 Galen Charlton 2014-02-21 16:57:52 UTC

*** This bug has been marked as a duplicate of bug 11751 ***