]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 17 Nov 2015 12:50:52 +0000 (09:50 -0300)
commit78c1b0198841d832f8aca2c1a8e7d8baffe8a08c
tree5608ed50090d4508927575e64aacc142b55606db
parent621f2ce9ac960d93466c9da5b4c6559e71519e3d
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>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt
serials/checkexpiration.pl