Bug 11816 - dead institution/organization patron management code
Summary: dead institution/organization patron management code
Status: RESOLVED DUPLICATE of bug 11751
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-21 16:43 UTC by Galen Charlton
Modified: 2014-02-21 16:57 UTC (History)
0 users

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 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 ***