Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members
Jonathan Druart c345694808 Bug 13970: Remove category_type related code
Working on bug 13497 and bug 9314, I run into some Koha vestiges.
The category_type parameter should not be passed to memberentry.
On creating a new patron, the categorycode should be passed, and on
editing, it's useless. We can work with the borrowernumber and retrieve
these values.

Details of the changes:
- members-toolbar.inc: Remove the category_type parameter passed to
memberentry.pl
- memberentrygen.tt: Just remove the useless category_type parameter on
  editing a patron. Also remove the unused one passed to
  guarantor_search.pl.
- tables/members_results.tt: the borrowernumber is enough to edit a
  patron.
- memberentry.pl: check_categorytype is never used in the template, all
  the process to calculate/retrieve it is unnecessary.
- members/nl-search.tt: The borrowernumber is enough to edit a patron.

Test plan:
Try to create and edit patrons and verify that
- the guarantor search still work
- the form (memberentry) behave as before

Edit a patron from the nl-search.pl script (Magnus?)

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

On top of 9314 (13497 already pushed)

No evident regressions found, add/edit patron works,
search/set guarantor works.

Cant test nl-patron.pl save for exec it.
prove -v t/NorwegianPatronDB.t runs

No koha-qa errors

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-06-11 10:11:01 -03:00
..
tables Bug 13970: Remove category_type related code 2015-06-11 10:11:01 -03:00
boraccount.tt Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
deletemem.tt
discharge.tt Bug 8007: (followup) double quotes... 2015-04-30 16:33:37 -03:00
discharges.tt Bug 8007: Discharge management 2015-04-30 12:33:56 -03:00
files.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
mancredit.tt Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
maninvoice.tt Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
member-flags.tt
member-password.tt Bug 10177 - Whitespace is accepted within the password but leading and trailing spaces are not. 2015-02-09 17:00:12 -03:00
member.tt Bug 7380: Rename filter to avoid confusion 2015-05-19 10:10:31 -03:00
memberentrygen.tt Bug 13970: Remove category_type related code 2015-06-11 10:11:01 -03:00
members-update.tt Bug 13349 [QA Followup] 2015-04-09 12:07:27 -03:00
moremember-brief.tt Bug 13142 - Change "mobile phone" label back to "other phone" 2015-02-13 13:52:10 -03:00
moremember-print.tt Bug 10423: Show date due with time if it's a hourly loan 2015-04-24 20:15:50 -03:00
moremember-receipt.tt
moremember.tt Bug 14338: Unable to delete patron images 2015-06-11 10:08:59 -03:00
nl-search.tt Bug 13970: Remove category_type related code 2015-06-11 10:11:01 -03:00
notices.tt Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
pay.tt Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
paycollect.tt Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
printfeercpt.tt
printinvoice.tt
purchase-suggestions.tt Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
readingrec.tt Bug 8276: (follow-up) Remove stry </td> 2015-04-22 14:37:15 -03:00
routing-lists.tt Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
statistics.tt Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
update-child.tt