Bug 17405 Edit record uses Default framework
authorRodrigo Santellan <rsantellan@gmail.com>
Mon, 10 Oct 2016 08:20:12 +0000 (04:20 -0400)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 21 Oct 2016 14:30:19 +0000 (14:30 +0000)
commitf060709df0ed07c0ff3dbc20404fa5b3b2aa8651
treef8e4e80e5b9f2ed3b61be5798deee9dcf1535c96
parent35de8aa1ef07b04cfc7c977f7168cd36b40d7941
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>
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc