I have noticed that after updating to Seblod 3.9 I can no longer set limit via select field which generates property: '?limit=XX'. Before under 3.8.4 this does work. Is this a bug or by design? I do notice under changelog for 3.9 that some limit related fixes were introduced
This bug also affecting Seblod 3.9.1. Is there any solution but to downgrade to 3.8.4? I also notice that Random articles module does not work right under the latest versions. The issue is not all articles under a particular content type are considered, so it will repeat the same content over and over again (it will show only 5/6 articles out of a pool of about 400!). Will there be a resolution for these issues? If you need any further information please let me know! :)
Limit under Search & list type has always been set to 0 as I am using pagination in combination with limit filtering overide. But, doing a bit more digging I seem to have found the bug/issue..
Seblod seems to be taking the pagination value as limit value, which in turn means setting &limit=XX is not taking effect, but also for random articles the SQL query is applying limit same as set for pagination. See attached for an example of my random article module working, while pagination is set to '500'. SQL query has limit set to value of pagination limit. Pagination does work: http://imgur.com/a/8mRmU
Hopefully this is enough to help investigate. My site is not online atm but if you need access let me know and I'll see what I can do.
Limit you see in the query will be whatever value is smaller, limit sets overall limit to number of items, but if pagination value is smaller you will see pagination number in the query as one of the reasons for pagination is to get better performance by splitting a number of items in smaller units.
I understand the explanation and reasoning. I took it to understand limit of '0' under Search type represented display all, but if I set it to 999999.. all items are included. This does fix the random item problem mentioned earlier. Really I have used this thread to discuss multiple problems, and this is confusing so my apologies :) . Unfortunately this change does not resolve the error of being able to override the limit parameter via ?limit=XXX variable in the URL string, thus changing the pagination and number of items displayed per page. This is a requirement for me and worked well under Seblod 3.8.4. could you check this?
Cheers Klas! Native pagination setting does indeed work. Problem again is that limit will always equal pagination limit, so my Random Item module only pools very few of the items. Old 3.8.4 behaviour was the global Seblod limit and Seblod pagination limit values were independent.