givanz / Vvveb

Powerful and easy to use cms to build websites, blogs or ecommerce stores.
https://www.vvveb.com
GNU Affero General Public License v3.0
384 stars 82 forks source link

Admin User: The list of Roles is not including more than 10 items #223

Closed m-bakoulis closed 4 days ago

m-bakoulis commented 1 week ago

Hi, I created a new Role and I was not able to see it in the list of roles on the Admin User->Role field. I had to delete one other role in order to see it in the list. Looks like the list is limited on displaying only 10 items while my available roles was 11.

Screenshot 2024-11-13 110443

givanz commented 1 week ago

Hi

Thanks for the bug report, I fixed in the last update, changed file /admin/controller/admin/user.php

You can also quickly fix it by adding limit => 100

https://github.com/givanz/Vvveb/blob/master/admin/controller/admin/user.php#L36-L38

to

$options    =  [
    'type' => 'admin',
    'limit'=> 100 // <--- add this line
] + $this->global;
m-bakoulis commented 4 days ago

It works now, thank you!