fix(search): don't start result position with 2
commit8225e1abb80b9f184f10886f5cd7af521316fcb2
authorMichael Große <grosse@cosmocode.de>
Fri, 20 Apr 2018 09:26:02 +0000 (20 11:26 +0200)
committerMichael Große <grosse@cosmocode.de>
Fri, 20 Apr 2018 09:26:02 +0000 (20 11:26 +0200)
tree451ccbc259ba550ea24681a2e7ee4e853c7c932c
parentf0861d1ffe4ab14ab02a7297854c5459298054f4
fix(search): don't start result position with 2

Also, for consistency this initializes also $num with 0, while ensuring
that the first FT_SNIPPET_NUMBER results with a $cnt>0 have a snippet.
inc/Ui/Search.php