Koha/koha-tmpl/intranet-tmpl/prog/en
Agustin Moyano 680dd7f340 Bug 16232: Fix edit as new in Rancor
When you edit a biblio as new, and you have enabled advanced editor,
current record was opened, and was overwritten when saved. This patch
effectively opens a new record based on the one selected.

To test:
1) Enable "EnableAdvancedCatalogingEditor" preference
2) Go to cataloguing and click on advanced editor to save preference to the cookie
3) Search for an item in catalog
4) Click in "Edit as new (duplicate)"
5) Advanced editor should appear.
CHECK => browser url ends with #catalog/{original biblionumber}
      => Title above toolbar is "Editing catalog record #{original biblionumber}"
6) Apply this patch
7) Repeat steps 3 to 5
SUCCESS => browser url ends with #duplicate/{original biblionumber}
        => Title above toolbar is "Editing duplicate record of #{original biblionumber}"
8) Save
SUCCESS => browser url ends with #catalog/{new biblionumber}
        => Title above toolbar is "Editing catalog record #{new biblionumber}"
9) Sign off

Sponsored-by: Carnegie

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-04-25 10:02:34 +00:00
..
data Bug 19648: Revise marc21_field_007.xml 2019-04-12 01:47:51 +00:00
includes Bug 16232: Fix edit as new in Rancor 2019-04-25 10:02:34 +00:00
modules Bug 22751: Switch two-column templates to Bootstrap grid: Patron details 2019-04-24 11:09:37 +00:00
xslt Bug 22418: Add magnifying glass to 655 results 2019-04-24 11:08:13 +00:00
columns.def Bug 13795: Remove occurences of unused columns in code 2019-04-18 10:05:51 +00:00