Open mistyn8 opened 7 years ago
noticed that it behaves like this for any change of state in pagination/filter/toggle/keyword etc..
data-jump-to-start="true"
seems to resolve for the control state changes, haven't had chance to check the empty funct.
if we fill the results with $('#search').jplist({ command: 'add', commandData: { $items: $('#search-result-list') } }); and then view page 2, via bootsrtap pagination control then empty with $('#search').jplist({ command: 'empty' });
if we then refill with a different result again using $('#search').jplist({ command: 'add', commandData: { $items: $('#search-result-list') } });
we end up on page 2.. when should really be page 1?