]> git.koha-community.org Git - koha.git/commit
Bug 17047: subscriptions management with Mana-KB
authormorgane alonso <morgane.alonso@biblibre.com>
Thu, 25 Aug 2016 08:22:50 +0000 (08:22 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 23 Jan 2019 14:39:26 +0000 (14:39 +0000)
commitcffb47ac5d4634c45cdf12f7d2c5972fc7867c26
tree0a6c22971377dd18b5046c63820211b7feb2c7fc
parent290fe9ff36f0e17e157f3d4e708da033b6ec8531
Bug 17047: subscriptions management with Mana-KB

- add a class SharedContent.pm to communicate with Mana-KB server
- add a link in serials-menu.inc to serials_search.pl to open
a mana-subscription research form
- modify the research form in serials-search.tt to show the right fields
for Mana-KB
- create datatable in mana-subscription-search-result.inc to show
results from a research on Mana-KB
- modify serials-search.pl to manage research on Mana-KB

- add a mana_id to subscription table
- add a share button on serials-toolbar.inc and a modal to ask
the language of the share and to alert if the subscription is
already link to a Mana-KB subscription model
- add function in C4/Serials to get all the info for a subscription
sharing
- modify subscription-detail.pl to manage sharing to Mana-KB

- modify subscription-add.tt and subscription.pl to manage a
import from Mana-KB during a subscription creation
- add 2 script in svc for ajax calling from subscription-add.tt
to communicate with Mana-KB server during a asubscription creation
- add a function in Subscription.pm to have all the info for a Mana-KB research
from a biblionumber
- modify functions used by subscription-add.pl in C4/Serials to manage a
frequency which came from Mana-KB server and not already created on the
koha database, and modify the tests of the said functions

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Rebased-by: Alex Arnaud <alex.arnaud@biblibre.com> (2018-07-04)
Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
31 files changed:
C4/Serials.pm
Koha/SharedContent.pm [new file with mode: 0644]
Koha/Subscription.pm
Koha/Subscription/Frequencies.pm
Koha/Subscription/Frequency.pm
Koha/Subscription/Numberpattern.pm [new file with mode: 0644]
Koha/Subscription/Numberpatterns.pm [new file with mode: 0644]
installer/data/mysql/atomicupdate/mana_01-add_mana_id_in_subscription.sql [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/includes/mana-subscription-search-result.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/includes/serials-menu.inc
koha-tmpl/intranet-tmpl/prog/en/includes/serials-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/serials/mana-subscription-search-result.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt
koha-tmpl/intranet-tmpl/prog/js/subscription-add.js
misc/cronjobs/serialsUpdate.pl
serials/serials-collection.pl
serials/serials-search.pl
serials/showpredictionpattern.pl
serials/subscription-add.pl
serials/subscription-detail.pl
svc/mana/search [new file with mode: 0755]
svc/mana/use [new file with mode: 0755]
t/db_dependent/Koha/SharedContent.t [new file with mode: 0644]
t/db_dependent/Koha/Subscription.t
t/db_dependent/Serials.t
t/db_dependent/Serials/GetFictiveIssueNumber.t
t/db_dependent/Serials/GetNextDate.t
t/db_dependent/Serials/GetNextSeq.t