]> git.koha-community.org Git - koha.git/commit
Bug 17232: Make sure all fields are copies when creating a new framework from another
authorKatrin Fischer <katrin.fischer.83@web.de>
Tue, 14 Apr 2020 10:45:01 +0000 (10:45 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 14 May 2020 22:17:17 +0000 (22:17 +0000)
commita3569d321705afe0e8f75ce2af7db2f0b29ced15
tree4f34b2815009b959957d8dc429cc581d0c1c4b50
parentdc9b62f8fdf8afde4c4986ce9993c0590ca09bae
Bug 17232: Make sure all fields are copies when creating a new framework from another

Some digging revealed that when you create a new framework
and use an old framework as the base, some information would
not be copied to the new framework as they were missing from
the SQL command used here.

- Tag: Important
- Subfield:
  - Important
  - Default value
  - Max length
  - Is a URL
  - Link

To test:
- Pick one of the existing frameworks and change the
  fields listed above. Take note of what you changed.
- Create a new framework
- Go to "Marc structure" of the new framework
- You are offered the option to copy an existing framework
- Use your prepared framework
- Verify the fields weren't copied - your config was lost
- Apply patch
- Create another new framework
- Repeat the duplication and tests
- Verify that now all fields have been copied correctly

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 9cd83a9c4ea6d5499e516270e2b5e70477bb13f8)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
admin/marctagstructure.pl