]> git.koha-community.org Git - koha.git/commit
Bug 12540: Display "Every" on editing a MMT action if previously selected
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 22 Sep 2015 10:16:28 +0000 (11:16 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 9 Nov 2015 15:06:52 +0000 (12:06 -0300)
commit384dceeef583c444ac8350c928a2e1aed34e536b
tree41a7b91be013bd8284b492e99ec8e1b9572a45d8
parentf25fe6ddb4a340f12613784dc841ab5bfd672d6b
Bug 12540: Display "Every" on editing a MMT action if previously selected

On creating a marc modification template action, the "All" is changed with
"Every" if the condition field is the same as the original field.

But on editing, the "All" value is not replaced. For consistency, it
should.

Test plan:
1/ Create the following action:
    Copy field 650$x to 650$y if 650$z matches "foobar"
Note that the "All" is replaced with "Every" when the condition is the
same field as the original field.
2/ Save
3/ Edit the action.
The "Every" should be selected.

Without this patch, "All" is selected.

Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt