]> git.koha-community.org Git - koha.git/commit
Bug 24367: Resolve warn Negative repeat count does nothing
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 10 Jan 2020 08:07:05 +0000 (08:07 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 19 Feb 2020 11:22:19 +0000 (11:22 +0000)
commitdb019fa6628c147c716a1dc1cad903f025775ee4
tree5b883ac019c2d383779e61162268fdd7ca60b20b
parentc801ea3c69e6d6db524f568372a8685622ee90cf
Bug 24367: Resolve warn Negative repeat count does nothing

Negative repeat count does nothing at /usr/share/koha/Koha/QueryParser/Driver/PQF/query_plan.pm line 53.
Negative repeat count does nothing at /usr/share/koha/Koha/QueryParser/Driver/PQF/query_plan/node.pm line 102.

I am not sure if this statement actually does what the author intended,
but adding the test on node_count/atom_count removes the warn.
Repeating this change on query_plan.pm line 62.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/QueryParser/Driver/PQF/query_plan.pm
Koha/QueryParser/Driver/PQF/query_plan/node.pm