From 89f703fb3dc7ffae9b4478b2e1cd907fc6bb65c5 Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Wed, 31 Oct 2007 13:11:32 -0500 Subject: [PATCH] #1490 : Subscription add, seasonal numbering: no years displayed Note sure this fix is functionnaly correct : see http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1490 Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- .../intranet-tmpl/prog/en/modules/serials/subscription-add.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tmpl index 9435d30777..6104b55e3f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tmpl @@ -114,6 +114,8 @@ var patternchoice = document.getElementById("numberpattern").value; display_table(0); break; case "6": + var d = new Date(document.f.firstacquidate.value); + var sYear = d.getFullYear(); moreoptions_seasons(text[15],sYear); var d = new Date(document.f.firstacquidate.value); var sYear = d.getFullYear(); -- 2.39.5