Widget: DCTList: Difference between revisions
From LINKS Community Center
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 | const sortOrder = Object.keys(fnImages); | ||
let x = Object.entries(functionsQueryResponse.query.results) | let x = Object.entries(functionsQueryResponse.query.results) | ||
.map(([key, value]) => ([removePrefix(key), value])) | .map(([key, value]) => ([removePrefix(key), value])) | ||
.sort(([keyA,], [keyB,]) => sortOrder.indexOf(keyA) - sortOrder.indexOf(keyB)) | |||
console.log('BLA', x) | console.log('BLA', x) |
Revision as of 15:45, 16 November 2022
Development verstion of the DCT List.
Not ready for production!