From 2a2238e84eeb3571eccbf4e98dacf122ba2e6639 Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Thu, 15 May 2014 08:38:47 +0200 Subject: [PATCH] [SIGNED-PFF] Bug 12209 - Fix currency symbol for NOK Dunno why, but the currency symbol for NOK was given as "$", when it should be "kr". To test: - Empty the "currency" table in the DB: DELETE FROM currency; - Load in the file changed by this patch: sudo koha-mysql < installer/data/mysql/nb-NO/2-Valgfritt/parameters.sql (if you are testing on a (gitified) package install) - Check that "kr" is displayed on /cgi-bin/koha/admin/currency.pl - Add a budget and a fund, and check that "kr" is displayed in the list of funds (currency symbols seem to be missing from the list of budgets) Signed-off-by: Bernardo Gonzalez Kriegel file loads ok, kr currency active, no errors --- .../data/mysql/nb-NO/2-Valgfritt/parameters.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/nb-NO/2-Valgfritt/parameters.sql b/installer/data/mysql/nb-NO/2-Valgfritt/parameters.sql index 6343e54..4d3c3be 100644 --- a/installer/data/mysql/nb-NO/2-Valgfritt/parameters.sql +++ b/installer/data/mysql/nb-NO/2-Valgfritt/parameters.sql @@ -19,8 +19,8 @@ -- with Koha; if not, write to the Free Software Foundation, Inc., -- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -INSERT INTO `currency` (currency, rate, symbol, active) VALUES +INSERT INTO currency (currency, rate, symbol, active) VALUES ('USD', 5.6157, '$', 0), -('NOK', 1.0, '$', 1), +('NOK', 1.0, 'kr', 1), ('GBP', 8.9680, '£', 0), ('EUR', 7.8940, '€', 0); -- 1.7.9.5