Bug 16762: Record matching rules: Remove match check link removes too much
commitffcb360321f6abe111c3352606b4c641ac48950a
authorOwen Leonard <oleonard@myacpl.org>
Fri, 17 Jun 2016 15:33:41 +0000 (17 11:33 -0400)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 8 Jul 2016 12:50:07 +0000 (8 12:50 +0000)
tree71f749776b9d9016abd37a2f559499d4dd7227bb
parent8ca55a7fb37ac50103de978f82408776fc06b7bb
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>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt