Bug 20941: (follow-up) Carry out comment #4 advice
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Wed, 3 Oct 2018 11:05:40 +0000 (12:05 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 31 Oct 2018 13:45:55 +0000 (13:45 +0000)
commit7cecc27e0152e310a7286ddd9bab96597b91891e
tree0685004af32c76c019065260d0268e12ab83d910
parent676fbe12ea52e2d3552b7d5300ba278de4ac3437
Bug 20941: (follow-up) Carry out comment #4 advice

- Switch getType -> get_type
- get_type now returns a type or undef
- Ternary now performed in template

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Illrequest.pm
koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt
t/db_dependent/Illrequests.t