Closed nichtich closed 2 years ago
I can try to implement this, but there are some issues:
count
instead of limit
(see http://ws.gbv.de/suggest/csl2?info).offset
parameter, so the only thing we can do is increase the count
parameter and load again.count=11
and with count=21
, they will not share the first 11 results. Instead, further results are inserted seemingly at random into the result set.We can still implement it the same way, but 1) clicking on "..." will not append new results, and 2) the more results the user loads, the bigger the data set will get (I don't think this will become much of an issue though).
Edit: We could also add something like a custom sort to emulate the desired behavior, but that would make things a bit more complicated to implement.
Just reload the whole result set when a larger number is requested.
Now implemented. Should we add some kind of loading indicator? Right now the results load so fast that it's not necessary, but it would be bad interface design if it loaded for a few seconds without any indicator after clicking "load more".
Yes, loading indicator would be good, we already have the Vue component :-)
Query with limit=11 and allow to increase the limit by clicking on "..." as last list item.