Bug 16762: Record matching rules: Remove match check link removes too much
authorOwen Leonard <oleonard@myacpl.org>
Fri, 17 Jun 2016 15:33:41 +0000 (11:33 -0400)
committerJulian Maurice <julian.maurice@biblibre.com>
Tue, 16 Aug 2016 14:21:14 +0000 (16:21 +0200)
commitd64e722210f0612980cd2b26d947dc4a90dd2474
tree53f3f3dc23df0b6f328b2a6ab3c803f1734f7335
parent44805f49cb32455e3680ae923012a2e5e9202a16
Bug 16762: Record matching rules: Remove match check link removes too much

My patch for Bug 5006 introduced a lot of markup changes to the record
matching rules template. I missed a change in one are though, which
caused a bug with the way the 'Remove match check' link works.

To reproduce:

- Go to Administration -> Record matching rules.
- Edit a matching rule which includes at least one match check.
- Click a 'Remove match check' link. The entire "Required match checks"
  block is removed.

To test, apply the patch and repeat the steps above. Clicking any
'Remove match check' link should remove only the corresponding rule.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as advertised

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit ffcb360321f6abe111c3352606b4c641ac48950a)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 071ce5aa26f362c017ced445320b9afcb1c8ee88)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt