mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 13:53:48 +01:00
Revert "Combine all basis for statistics"
This reverts commit 09ad520fce3d6cabe317f5677d46fd2af8f796d2.
This commit is contained in:
parent
10ad157c04
commit
5d5503c075
@ -156,7 +156,7 @@ draft: false
|
|||||||
var refstr = $("#sel_ref option:selected").val()
|
var refstr = $("#sel_ref option:selected").val()
|
||||||
var sdatdic = new Map()
|
var sdatdic = new Map()
|
||||||
for (const d of window.filtData) {
|
for (const d of window.filtData) {
|
||||||
const key = JSON.stringify([d.code, d.method.name, d.DOI.string])
|
const key = JSON.stringify([d.code, d.method, d.DOI.string])
|
||||||
if (!(sdatdic.has(key))) {
|
if (!(sdatdic.has(key))) {
|
||||||
sdatdic.set(key, new Map())
|
sdatdic.set(key, new Map())
|
||||||
}
|
}
|
||||||
@ -186,7 +186,7 @@ draft: false
|
|||||||
row = $("<tr/>")
|
row = $("<tr/>")
|
||||||
key = JSON.parse(keystr)
|
key = JSON.parse(keystr)
|
||||||
key.shift()
|
key.shift()
|
||||||
//Reflect.setPrototypeOf(key[0], method.prototype)
|
Reflect.setPrototypeOf(key[0], method.prototype)
|
||||||
//Reflect.setPrototypeOf(key[1], DOI.prototype)
|
//Reflect.setPrototypeOf(key[1], DOI.prototype)
|
||||||
for (const [i,el] of key.entries()) {
|
for (const [i,el] of key.entries()) {
|
||||||
var td = $("<td/>")
|
var td = $("<td/>")
|
||||||
@ -272,11 +272,11 @@ draft: false
|
|||||||
})
|
})
|
||||||
await window.doiCache.addRange(window.filtData.map((d) => d.DOI.string))
|
await window.doiCache.addRange(window.filtData.map((d) => d.DOI.string))
|
||||||
$(sel_ref).empty()
|
$(sel_ref).empty()
|
||||||
for (const el of uniq(window.filtData.map(d => [d.code, d.method.name, d.DOI.string]))) {
|
for (const el of uniq(window.filtData.map(d => [d.code, d.method, d.DOI.string]))) {
|
||||||
op = $("<option/>", {
|
op = $("<option/>", {
|
||||||
value: JSON.stringify(el)
|
value: JSON.stringify(el)
|
||||||
}).text(el[1])
|
}).text(el[1])
|
||||||
if (el[1].includes("TBE")) {
|
if (el[1].name.includes("TBE")) {
|
||||||
$(sel_ref).prepend(op)
|
$(sel_ref).prepend(op)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user