Bug 23893: Use in /cities
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 12 Nov 2019 12:59:53 +0000 (09:59 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 8 Jan 2020 14:38:33 +0000 (14:38 +0000)
commitc46c86b3e7f6c7eb7e482a7c18745d02fd11e346
tree0f8a60dbc1eae85a8b98e9af7e2f58a88ad780aa
parent340f77732a82d368cdafc622ae636bff19f997af
Bug 23893: Use in /cities

This patch makes the cities controller use the new methods from
Koha::Object.

To test:
1. Apply this patch
2. Run:
  $ kshell
 k$ prove t/db_dependent/api/v1/cities.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/REST/V1/Cities.pm