]> git.koha-community.org Git - koha.git/commit
Bug 9468: use new SUGGEST_FORMAT list
authorGalen Charlton <gmc@esilibrary.com>
Mon, 5 May 2014 00:23:19 +0000 (00:23 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 5 Nov 2015 13:46:57 +0000 (10:46 -0300)
commit15f9efb7bd8c14dcae58021d67c4f0fad107e41d
tree9240e52bd67a96c25391fa17aa5b10f3201b8eaa
parent0b41476a39527d3a531f0778e89bcd329435c4a8
Bug 9468: use new SUGGEST_FORMAT list

This patch uses the new SUGGEST_FORMAT authorized value list for
populating the list of suggestion item types/document types.  It
also improves the display by using the staff or OPAC description of
the authorised value rather than the code.

To test:

[1] Enter a suggestion via the OPAC and select an item type (which
    I will call "desired format" for the rest of this test plan).
[2] Verify that the saved suggestion displays the desired format
    description in both staff and OPAC.
[3] Verify that organizing the list of suggestions by item type
    now works in the staff interface, rather than displaying "Unknown"
    in each tab header.
[4] Verify that existing suggestions' desired formats are displayed
    correctly.
[5] Verify that suggestions can have their desired format edited
    in the staff inteface.

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>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt
opac/opac-suggestions.pl
suggestion/suggestion.pl