Bug 17405 Edit record uses Default framework
authorRodrigo Santellan <rsantellan@gmail.com>
Mon, 10 Oct 2016 08:20:12 +0000 (04:20 -0400)
committerFrédéric Demians <f.demians@tamil.fr>
Sat, 22 Oct 2016 13:09:04 +0000 (15:09 +0200)
commit8659bad629fcdfb5bb612ad21ce0bcb0f70a74bd
treeeac42cc47b02092eee80bf0a8d2f5dc85022bae1
parente25934f6cdb1eaae0fbc9be15afe55a3ee2ad51a
Bug 17405 Edit record uses Default framework

In detail view (catalogue/detail.pl), when clicking on Edit > Edit
record button, the record editor should be opened with the biblio record
framework. It isn't the case. The Default framework is used. Same issue
with Edit > Edit as new (duplicate).

TO TEST:

1. Find a biblio record using a framework which is not the Default one.
2. See the biblio record in detail view (catalogue/detail.pl).
3. Click on Edit > Edit record.
4. Click on Settings => you can see 'Default' as selected framework.
5. Apply the patch.
6. Repeat step 3-4. => the biblio record framework is selected.
7. Repeat 3-4 using Edit > Edit as new (duplicate).

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
  Added a test plan

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Fix the issue, no errors.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit f060709df0ed07c0ff3dbc20404fa5b3b2aa8651)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc