Bug 7534: Add new column "pickup_location" to branches
authorLari Taskula <lari.taskula@jns.fi>
Tue, 7 Feb 2017 17:02:57 +0000 (19:02 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 6 Sep 2018 17:27:05 +0000 (17:27 +0000)
commitbf8834a1e65235c6e174866a25d76bdcd88be988
tree5fd6679d26e70a0cc71d39652e1292da63fb730f
parent4577ca53c87d047d25182f88ebefed9583f515df
Bug 7534: Add new column "pickup_location" to branches

This patch adds a new column "pickup_location" for each library. This value
defines whether a library can be used as a pickup location or not.

For extended configurability, this flag could perhaps be considered as a part
of issuing rules, but as of now, this patch only offers a simple flag into
each library. This method also allows easy way for REST API to determine valid
pickup locations by querying the /libraries endpoint.

To test:
1. perl installer/data/mysql/updatedatabase.pl
2. Observe
DEV atomic update: bug_7534.perl
Upgrade to XXX done (Bug 7534 - Let libraries have configuration for pickup locations)

https://bugs.koha-community.org/show_bug.cgi?id=7354

Signed-off-by: Koha Team AMU <axelle.clarisse@univ-amu.fr>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
installer/data/mysql/atomicupdate/bug_7534.perl [new file with mode: 0644]
installer/data/mysql/kohastructure.sql