diff options
author | D Low <daniellowtw@gmail.com> | 2016-04-14 00:04:00 +0100 |
---|---|---|
committer | D Low <daniellowtw@gmail.com> | 2016-04-14 00:10:39 +0100 |
commit | 20f89623c01696a05459c4b1191cfe3adfb0105b (patch) | |
tree | a9ae52c01f411f60ffe642d23f4a75cf2eb8a54c /doc/Development.html | |
parent | 9f400b0dad68b82d65692bd6ab6190f6a787fa89 (diff) | |
download | Shaarli-20f89623c01696a05459c4b1191cfe3adfb0105b.tar.gz Shaarli-20f89623c01696a05459c4b1191cfe3adfb0105b.tar.zst Shaarli-20f89623c01696a05459c4b1191cfe3adfb0105b.zip |
Fix error when filtering search tags
Arrays are key-value maps. We should reindex the array after a filter
since we are using the key and count to do array access in filterTags.
An example would be searching for "foo, bar", after the array filter,
our array is actually (0 -> foo, 2 -> bar) which will cause an error
when trying to access $searchtags[1].
Diffstat (limited to 'doc/Development.html')
0 files changed, 0 insertions, 0 deletions