Commit 609c7165 authored by Traboulsi's avatar Traboulsi
Browse files

Update public/js/paperfilter.js

parent 6d9c2f05
Pipeline #8773 passed with stage
in 10 seconds
Showing with 2 additions and 2 deletions
+2 -2
......@@ -187,7 +187,7 @@ function filter(year){
document.getElementById("filter2020").innerHTML = "2020"
document.getElementById("filter2022").innerHTML = "2022 (" + count +")"
count = 0
} else if (year == "All"){
} /*else if (year == "All"){
for (var j = 0; j < jsonContent.length; j++) {
var filterString = jsonContent[j].item.conference.date.toString()
if ( filterString.includes('2022') || filterString.includes('2023') || filterString.includes('2020') || filterString.includes('2019') || filterString.includes('2021')|| jsonContent[j].item.journal.year == 2022 || jsonContent[j].item.journal.year == 2023 || jsonContent[j].item.journal.year == 2019 || jsonContent[j].item.journal.year == 2020 || jsonContent[j].item.journal.year == 2021) {
......@@ -237,7 +237,7 @@ function filter(year){
document.getElementById("filter2020").innerHTML = "2020"
document.getElementById("filterall").innerHTML = "Alles (" + count +")"
count = 0
}
}*/
if (year == "2020") {
state2020 = 1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment