Bug 7372: Move road types from the roadtype table to the ROADTYPE AV
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 23 Oct 2013 12:27:45 +0000 (14:27 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 21 Feb 2014 16:00:53 +0000 (16:00 +0000)
commita691ebc3f1b9a4b9075fc3f1b798a145fbd01244
treec2325f68e24013c36070b3569e7d02c55332f2dc
parent40ba1763afc40cd47b23892a3248fd877dc8edce
Bug 7372: Move road types from the roadtype table to the ROADTYPE AV

Currently road types are stored in a specific table in DB. Moreover, an
admin page is present in order to manage them.
This patch proposes to remove this table and this page in favour of a
new authorised value category 'ROADTYPE'.

This patch:
- adds a new AV category 'ROADTYPE' (created from the roadtype table
  content).
- remove the roadtype table.
- remove the .pl and .tt file admin/roadtype
- remove the 2 routines C4::Members::GetRoadTypes and
  C4::Members::GetRoadTypeDetails

Test plan:
1/ Execute the updatedatabase entry and verify existing roadtypes are
now stored in the AV 'ROADTYPE'.
2/ Verify you can add/update a streettype for patrons.
3/ Verify on following pages the streettype is displayed in patron
information (top left):
  circ/circulation.pl
  members/memberentry.pl
  members/moremember.pl
  members/routing-lists.pl

Signed-off-by: Sophie Meynieux <sophie.meynieux@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
12 files changed:
C4/Members.pm
admin/roadtype.pl [deleted file]
circ/circulation.pl
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/roadtype.tt [deleted file]
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
members/memberentry.pl
members/moremember.pl
members/routing-lists.pl