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 341: Line 341:
                 + '|?Has_description=' + DESC_KEY;
                 + '|?Has_description=' + DESC_KEY;
             const functionsQueryResponse = await fetch(getQueryUrl(functionsQuery)).then(response => response.json());
             const functionsQueryResponse = await fetch(getQueryUrl(functionsQuery)).then(response => response.json());
            console.log(functionsQueryResponse)


             const sortOrder = Object.keys(fnImages);
             const sortOrder = Object.keys(fnImages);
Line 377: Line 375:


             const dctResponse = await fetch(getQueryUrl(dctQuery)).then(response => response.json());
             const dctResponse = await fetch(getQueryUrl(dctQuery)).then(response => response.json());
            console.log(dctResponse)


             const dctList = Object.keys(dctResponse.query.results).map(dctName => {
             const dctList = Object.keys(dctResponse.query.results).map(dctName => {

Revision as of 15:23, 7 December 2022

Current version of the DCT List.
Not ready for production!