Files
openfoodnetwork/app/controllers/admin
Jean-Baptiste Bellet e18454c55a Add pagination on enterprises page for super admin
Enterprises are stored in `@enterprise_set` variables, and we iterate over to show the list of enterprises to super admin.

Previously, we used to use `Sets::EnterpriseSet.new(collection)` instead of creating set based on `@collection`: this leads to call the `collection` method twice, which was probably very time consuming. This commit fix also that.

+ use paginated enterprises loading on bulk update but without testing if the current user is an admin
2023-02-03 09:15:07 +01:00
..
2021-09-08 14:28:31 +01:00
2021-09-08 14:28:31 +01:00
2022-10-18 11:32:14 +11:00