Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There is a list of the latest quizzes at the end of the question creation/editing page. Currently the list grows indefinitely, which pushes the Save button very far and also causes the page to load very slowly.
The UI has gotten a complete overhaul in 7.x-5.x, so this issue doesn't exist there anymore.
Comment | File | Size | Author |
---|---|---|---|
#1 | quiz-latest_quizzes_grows_indefinitely-2331227-1.patch | 1.14 KB | juho-jaakkola |
Comments
Comment #1
juho-jaakkola CreditAttribution: juho-jaakkola commentedComment #2
dandaman CreditAttribution: dandaman commentedVery helpful for 4.x users!
On a site I run there's tons of quizzes, and the fact that it loads every quiz that matches if they've never worked on a quiz before makes the page take a LONG time to load.
Thanks for the patch!
Ohh, one thing. Your patch has this:
I don't think those brackets are doing anything and should only be used around tables, so I just took them off and it did the same thing (might screw up some people who have a table prefix too):
Comment #3
dandaman CreditAttribution: dandaman commentedWell, would be RTBC if the code issue above is fixed.
Comment #5
djdevinThe curly braces evaluate the variable since the string is in double quotes, so no issues here.
I committed this to 4.x
Not required in 5.x because we removed the recent Quiz list in favor of Entity API/Views.