Index: lams_central/web/qb/collection.jsp
===================================================================
diff -u -r01936221b19e94859bef8329e3ac12016166294c -rba4cb0681d080596444ca44c644a8ea0fdd8e743
--- lams_central/web/qb/collection.jsp (.../collection.jsp) (revision 01936221b19e94859bef8329e3ac12016166294c)
+++ lams_central/web/qb/collection.jsp (.../collection.jsp) (revision ba4cb0681d080596444ca44c644a8ea0fdd8e743)
@@ -54,7 +54,7 @@
// data comes from data-collection-* attributes of
tag which is a base for the grid
caption: collectionGrid.data('collectionTitle'),
datatype: "xml",
- url: "qb/collection/getCollectionGridData.do?collectionUid=" + collectionGrid.data('collectionUid'),
+ url: "qb/collection/getCollectionGridData.do?showUsage=true&collectionUid=" + collectionGrid.data('collectionUid'),
height: "100%",
autowidth:true,
shrinkToFit: true,
@@ -68,11 +68,13 @@
colNames:[
"ID",
"Name",
+ "Used in
lessons",
"Stats"
],
colModel:[
{name:'id', index:'uid', sortable:true, width: 10},
{name:'name', index:'name', sortable:true, search:true, autoencode:true},
+ {name: 'usage', index: 'usage', sortable:false, width: 10, align: "center"},
// formatter gets just question uid and creates a button
{name:'stats', index:'stats', classes: "stats-cell", sortable:false, width: 10, align: "center", formatter: statsLinkFormatter}
],