Difference between revisions of "Widget:DCTList"

From LINKS Community Center
Jump to: navigation, search
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 15:29, 9 June 2022

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