]> git.koha-community.org Git - koha.git/commit
Bug 13746: On creating a new subscription, notes fields get confused
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sat, 21 Feb 2015 21:52:30 +0000 (22:52 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 16 Mar 2015 00:17:40 +0000 (13:17 +1300)
commitd04a97a342cdee046df8bc53924180cb6adf714b
tree916cea5764e9a7cf877418577119f0f73e37a46f
parentb4d77d7c78c847a6e4fc62e36a80a3a1ad688058
Bug 13746: On creating a new subscription, notes fields get confused

For every subscription we have 4 notes fields in Koha, 2 are in the
subscription itself and another 2 are in the subscription history.

When creating a new subscription, the notes fields from the
subscription get copied to the fields of the subscription history,
leading to doubled up display of notes in the OPAC.

To test:
- Add a new subscription without patch
  - check manual history
  - Fill in both notes fields
- Verify that the notes fields got also saved into the
  subscription history (easy from the Summary tab)
- Apply patch
- Add another subscription, like above
- Verify now only the subscription notes fields are saved
- Edit subscription and notes - verify all is ok
- Edit subscription history (Planning tab) - verify all is ok

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit b5fac05bc39188081c14dcafb7f4c3a0969d37a3)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Serials.pm