Koha-clms/koha-tmpl
Jonathan Druart 868bdc355d 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>
(cherry picked from commit 384dceeef5)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
2015-11-29 21:38:25 +01:00
..
intranet-tmpl Bug 12540: Display "Every" on editing a MMT action if previously selected 2015-11-29 21:38:25 +01:00
opac-tmpl Bug 14955: Don't double encode chars in the "Show more" link 2015-11-29 21:22:13 +01:00
favicon.ico
…
index.html
…
intranet.html
…
opac.html
…