OpenSourcePolitics / decidim

Fork of Decidim
http://www.decidim.org
GNU Affero General Public License v3.0
20 stars 4 forks source link

(Backport) Fix private participants pagination crash #6986 #1143

Closed moustachu closed 3 years ago

moustachu commented 3 years ago

:tophat: What? Why?

Remove default params hash to avoid crashes when paginating private participants pages. The problem is that the hash of default_params initializes all the parameters of the participatory spaces to null, causing it to subsequently not be able to generate the paging links correctly

✅ Testing

To execute the test, more than 20 private participants must be generated in a participatory space. Accessing the private participants section is when the error previously appeared. Now is working correctly

:pushpin: Related Issues