Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 129: | Line 129: | ||
/** @type {DCT} */ | /** @type {DCT} */ | ||
const dct = {}; | const dct = {}; | ||
let x = searchFunctions.some(func =>{ | |||
let printoutValue = results[dctKey].printouts[func][0]; | |||
if (printoutValue) console.log(dctKey, func, printoutValue.fulltext); | |||
return printoutValue && printoutValue.fulltext.toLowerCase() === 'yes'; | |||
}) | |||
console.log('result for', dctKey, x) | |||
dct.name = dctKey; | dct.name = dctKey; | ||
dct.url = results[dctKey].fullurl; | dct.url = results[dctKey].fullurl; |
Revision as of 14:29, 9 June 2022
Development verstion of the DCT List.
Not ready for production!