]> git.koha-community.org Git - koha.git/commit
Bug 15171: Display subscriptions which will expire in the future
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 11 Nov 2015 09:36:16 +0000 (09:36 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Sun, 29 Nov 2015 21:12:30 +0000 (22:12 +0100)
commit7368075d1e3640396ed64a5ed342147a5d31fa22
treea7a806249a0677f1a3fd11f70ae16d048e697a67
parentc262b16abec3d23eea864eed91dd132685ff6285
Bug 15171: Display subscriptions which will expire in the future

Since the form on the subscription check expiration page let the user choose an
expiration date > today, there is no sense to hide subscriptions which will expire in the future.

Test plan:
0/ Make sure you have at least subscription with an expiration date > today
1/ Start a seach on the check expiration page (serials/checkexpiration.pl)
with a date < today, = today and > today
=> The subscription won't never be displayed without this patch.
With this patch, it will.

Note that you will get a "No results for your query" message only if you
have search for something.

Followed testplan, works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 78c1b0198841d832f8aca2c1a8e7d8baffe8a08c)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt
serials/checkexpiration.pl