[Koha-bugs] [Bug 23126] Multiline entries in subscription history display with <br/> in OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 21 21:07:43 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23126

Nadine Pierre <nadine.pierre at InLibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #90886|0                           |1
        is obsolete|                            |

--- Comment #10 from Nadine Pierre <nadine.pierre at InLibro.com> ---
Created attachment 90931
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90931&action=edit
Bug 23126: Display multi-line entries in subscrpitions correctly

There are several notes and other fields in a subscription that
can be entered as multi-line input with breaks. We should display
them as they were entered with keeping the line breaks intact.

To test:
- 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 <br>
- 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

Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Nadine Pierre <nadine.pierre at inLibro.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list