postorius only show 50 owner lists
Hi,
I have installed mailman3 suite on Debian 9.
mailman3-full 3.2.0-4 mailman3 3.2.0-4 python3-django-mailman3 1.2.0-3 python3-mailman-hyperkitty 1.1.0-9 python3-mailmanclient 3.2.0-3
And postorius only lists up to 50 addresses when filter by owner:
https: //lists.domain/mailman3/postorius/lists/? role = owner
A first query in the database returns all the lists, but then, when it makes the subsequent queries for each list, it ends when it reaches 50.
The DB is postgresql.
And it's not a paging problem.
The paging buttons are disabled because I am trying to see all the owner's lists.
I understand that postorius executes the list_index_authenticated function in postorius / views / list.py
The description of the function shows:
"" "Index page for authenticated users.
Index page for authenticated users is slightly different than un-authenticated ones. Authenticated users will see all their memberships in the index page.
This view is not paginated and will show all the lists.
"" "
The client.find_lists method only passes as parameters user_email and role = role.
And the function of mailmanclient:
def find_lists (self, subscriber, role = None, count = 50, page = 1):
use the limit of count = 50 if not specified.
The call to the function client.find_lists (user_email, role = role) should pass the existing value of lists:
len (all_lists)
-> all_lists.extend (client.find_lists (user_email, role = role, count = len (all_lists)))
regards