Difference between revisions of "Widget:DevGuidelines"

From LINKS Community Center
Jump to: navigation, search
Line 441: Line 441:
 
                         title: 'Target audience',
 
                         title: 'Target audience',
 
                         field: TA_PROP,
 
                         field: TA_PROP,
 +
                        formatter: cell => cell.getValue().join(', ')
 +
                    },
 +
                    {
 +
                        title: 'Disaster Management Phase',
 +
                        field: PHASE_PROP,
 
                         formatter: cell => cell.getValue().join(', ')
 
                         formatter: cell => cell.getValue().join(', ')
 
                     }
 
                     }
 +
       
 
                 ],
 
                 ],
 
                 initialSort: [
 
                 initialSort: [
Line 462: Line 468:
 
                 // Set result counter
 
                 // Set result counter
 
                 document.getElementById('result-count').textContent = rows.length;
 
                 document.getElementById('result-count').textContent = rows.length;
               
+
 
 
                 // Exit if filter object/type doesn't exist (happens after Tabulator's own filter reset).
 
                 // Exit if filter object/type doesn't exist (happens after Tabulator's own filter reset).
 
                 if (!(filter && filter.type)) { summary.textContent = 'No filter. Showing all results.'; return; }
 
                 if (!(filter && filter.type)) { summary.textContent = 'No filter. Showing all results.'; return; }

Revision as of 10:56, 23 November 2022

Development version of the List of Guidelines.
Not ready for production!