Widget: DCTList: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Eschmidt (talk | contribs)
No edit summary
Eschmidt (talk | contribs)
No edit summary
Line 322: Line 322:


             console.log('results', functionsQueryResponse.query.results)
             console.log('results', functionsQueryResponse.query.results)
           
             const sortOrder = Object.keys(fnImages);
             const sortOrder = Object.keys(fnImages);


Line 331: Line 332:


             Object.keys(functionsQueryResponse.query.results)
             Object.keys(functionsQueryResponse.query.results)
       
                .sort((keyA, keyB) => functionsSortOrder.indexOf(keyA) - functionsSortOrder.indexOf(keyB))
                 .forEach(key => {
                 .forEach(key => {
                     const functionCategory = functionsQueryResponse.query.results[key];
                     const functionCategory = functionsQueryResponse.query.results[key];

Revision as of 15:45, 16 November 2022

Development verstion of the DCT List.
Not ready for production!