@@ -, +, @@
correctly
- Add a subscription
- Add comments including line breaks in internal and OPAC note
- Check the manual history checkbox
- Go to the subscription detail page, tab 'Planning'
- Use the 'Edit history' link to edit the history
- Enter content with line breaks in all the input fields where
it's possible
- Go to the OPAC detail page for your subscription record
- Go to tab 'Subscriptions' > More details > Brief history
- Verify the line breaks show there as
- Apply patch
- Relaod page, verify all information displays correctly now
- Go back to the detail page, subscription tab - verify same there
- Go back to the subscription detail page in staff
- Check editing the history works as expected
- Verify information on all tabs displays correctly
- Receive a serial issue - verify note on top displays right
- Go to the serial collection page of the subscription - same there
---
C4/Serials.pm | 3 ---
.../intranet-tmpl/prog/en/modules/serials/serials-collection.tt | 2 +-
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt | 2 +-
.../intranet-tmpl/prog/en/modules/serials/subscription-detail.tt | 4 ++--
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 2 +-
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-serial-issues.tt | 4 ++--
opac/opac-serial-issues.pl | 6 ------
7 files changed, 7 insertions(+), 16 deletions(-)
--- a/C4/Serials.pm
+++ a/C4/Serials.pm
@@ -429,9 +429,6 @@ sub GetSubscriptionsFromBiblionumber {
$subs->{histenddate} = "";
}
$subs->{opacnote} //= "";
- $subs->{opacnote} =~ s/\n/\
/g;
- $subs->{missinglist} =~ s/\n/\
/g;
- $subs->{recievedlist} =~ s/\n/\
/g;
$subs->{ "periodicity" . $subs->{periodicity} } = 1;
$subs->{ "numberpattern" . $subs->{numberpattern} } = 1;
$subs->{ "status" . $subs->{'status'} } = 1;
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt
@@ -53,7 +53,7 @@
Nonpublic note: [% internalnotes | html %]
[% END %] +[% IF internalnotes %]Nonpublic note: [% internalnotes | html | html_line_break %]
[% END %]