A couple of things wrong in serials/subscription-add.pl
1.
447 if ( defined( $query->param('mana_id') ) ) {
It's always defined, you wanted to test with ""
2.
375 if ( (C4::Context->preference('Mana')) and ( grep { $_ eq "subscription" } split(/,/, C4::Context->preference('AutoShareWithMana'))) ){
Mana == 2 == let me think about it
=> I am not expecting to reach Koha::SharedContent in that case
So we are sharing data whereas the library did not decide yet!
Test plan:
You need to be familiar you Mana to test this patch.
JD: I did not test this patch
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
|
||
|---|---|---|
| .. | ||
| acqui-search-result.pl | ||
| acqui-search.pl | ||
| add_user_search.pl | ||
| checkexpiration.pl | ||
| claims.pl | ||
| create-numberpattern.pl | ||
| lateissues-export.pl | ||
| reorder_members.pl | ||
| routing-preview.pl | ||
| routing.pl | ||
| serials-collection.pl | ||
| serials-edit.pl | ||
| serials-home.pl | ||
| serials-search.pl | ||
| showpredictionpattern.pl | ||
| subscription-add.pl | ||
| subscription-batchedit.pl | ||
| subscription-bib-search.pl | ||
| subscription-detail.pl | ||
| subscription-frequencies.pl | ||
| subscription-frequency.pl | ||
| subscription-history.pl | ||
| subscription-numberpattern.pl | ||
| subscription-numberpatterns.pl | ||
| subscription-renew.pl | ||
| viewalerts.pl | ||