#7012 (Page navigator doesn't work in list display mode)
by Luc Saffre · in Developers · assigned to Jan Markus Kähara
Summary
Children
Comments
- 1 month ago by Luc Saffre about #7012 (Page navigator doesn't work in list display mode) : Note that we have a single documentation page where sliced_data_iterator is being demonstrated in a doctest. And this documentation page would deserve much more examples and text: dev.lino-framework.org/dev/ar.html Let's talk about it one morning. Maybe Jan can imagine new examples.
- 1 month ago by Luc Saffre about #7012 (Page navigator doesn't work in list display mode) : Good work! Good teamwork! I merged your changes to master.
- 1 month ago by Jan Markus Kähara about #7012 (Page navigator doesn't work in list display mode) : fyi I also created a merge request
- 1 month ago by Jan Markus Kähara about #7012 (Page navigator doesn't work in list display mode) : After quite a bit of digging I finally found the one place in lino/core/actors.py, line1911 in def get_table_as_list where I had to change data_iterator into sliced_data_iterator to fix the issue.
I will say though, that without Sharif naming the functions, it'd probably would've taken me way longer... - 1 month ago by Luc Saffre about #7012 (Page navigator doesn't work in list display mode) : We used runserver in noi1r All tickets, then click on second page, to reproduce the issue.
To dive into this, please start by reading the following:
docs.djangoproject.com/en/6.1/topics/http/urls/ docs.djangoproject.com/en/6.1/topics/http/views/ docs.djangoproject.com/en/6.1/ref/request-response/
... - 1 month ago by Luc Saffre about #7012 (Page navigator doesn't work in list display mode) : Thanks for looking at it. Yes, I take it back, then.
- 1 month ago by Sharif Mehedi about #7012 (Page navigator doesn't work in list display mode) : I'd like to give this ticket back to luc.
- 1 month ago by Sharif Mehedi about #7012 (Page navigator doesn't work in list display mode) : It's not a problem in the frontend. The backend always returns first page, because in some places, it's using ar.data_iterator where it should use ar.sliced_data_iterator.
- 1 month, 2 weeks ago by Luc Saffre about #7012 (Page navigator doesn't work in list display mode) : We observed together that the request is correct and the server returns correct data, but the screen isn't updated.
- 1 month, 2 weeks ago by Luc Saffre about #7012 (Page navigator doesn't work in list display mode) : Created new Ticket #7012 (Page navigator doesn't work in list display mode).