Bug 9468: define new SUGGEST_FORMAT authorize value
authorGalen Charlton <gmc@esilibrary.com>
Mon, 5 May 2014 00:19:52 +0000 (00:19 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 5 Nov 2015 13:46:57 +0000 (10:46 -0300)
commit0b41476a39527d3a531f0778e89bcd329435c4a8
treef8660aede50906e720f4c55470b8e0b3266fbf2c
parent730b060baac20ab22eeaea057bd9a4baa7a4d6cc
Bug 9468: define new SUGGEST_FORMAT authorize value

This patch defines a new authorized called SUGGEST_FORMAT for
populating a list of patron-understandable formats for expressing
how they would prefer suggested items to be purchased.  For
database upgrades, it populates it based on the value returned by the
GetSupportList() routine.

To test
-------
[1] Run the database update.
[2] Verify that there is a new authorised value called SUGGEST_FORMAT
    whose codes and descriptions correspond to the list of "item types"
    available on the patron suggestion form.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/updatedatabase.pl