aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/awesomplete.js
diff options
context:
space:
mode:
authorD Low <daniellowtw@gmail.com>2016-04-14 00:04:00 +0100
committerD Low <daniellowtw@gmail.com>2016-04-14 00:10:39 +0100
commit20f89623c01696a05459c4b1191cfe3adfb0105b (patch)
treea9ae52c01f411f60ffe642d23f4a75cf2eb8a54c /inc/awesomplete.js
parent9f400b0dad68b82d65692bd6ab6190f6a787fa89 (diff)
downloadShaarli-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 'inc/awesomplete.js')
0 files changed, 0 insertions, 0 deletions