[Koha-patches] [PATCH] Bug 10015 - UniqueItemFields could have link to database documentation

Owen Leonard oleonard at myacpl.org
Tue Apr 9 21:18:43 CEST 2013


Other system preferences which require entry of database column names
include a link to the scheme for reference. The UniqueItemFields should
do the same. This patch rewords the preference description to
incorporate a link.

To test, open the acquisitions tab in system preferences and confirm
that the UniqueItemFields description looks correct and links to the
right page in the schema.
---
 .../en/modules/admin/preferences/acquisitions.pref |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref
index 1ec49ff..ea02dd8 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref
@@ -9,8 +9,9 @@ Acquisitions:
                   receiving: receiving an order.
                   cataloguing: cataloging the record.
         -
+            - "The following <a href='http://schema.koha-community.org/tables/items.html' target='blank'>database columns</a> should be unique in an item:"
             - pref: UniqueItemFields
-            - (space-separated list of fields that should be unique for items, must be valid SQL fields of items table)
+            - (separated by a space)
         -
             - When closing or reopening a basket,
             - pref: BasketConfirmations
-- 
1.7.9.5


More information about the Koha-patches mailing list