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.
To see number of questions assigned to a selected term:
change quiz.admin.inc line# 548 :
from
'#value' => check_plain($term->name),
to
'#value' => check_plain($term->name) . ' (' . db_result(db_query("SELECT COUNT(t.nid) FROM {term_node} t, {node} n WHERE t.vid=n.vid AND n.language='%s' AND t.tid = %d", $quiz->language, $term->tid)) . ')',
Comment | File | Size | Author |
---|---|---|---|
#2 | quiz.admin-4.1.patch | 3.6 KB | tutumlum |
#1 | quiz.admin-4.1.patch | 3.6 KB | tutumlum |
Comments
Comment #1
tutumlum CreditAttribution: tutumlum commentedBetter way to see number of questions assigned to a selected term. Select all for the check boxes, parent category names and row numbers for the draggable table, and parent category names for adding new category drop down list are added.
Comment #2
tutumlum CreditAttribution: tutumlum commentedBetter way to see number of questions assigned to a selected term. Select all for the check boxes, parent category names and row numbers for the draggable table, and parent category names for adding new category drop down list are added.
Comment #3
djdevinThis issue is being closed because it is filed against a version that is no longer supported.