Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
zedflow
fgdi
Commits
76899920
Commit
76899920
authored
Oct 23, 2023
by
Traboulsi
Browse files
Update public/js/paperfilter.js
parent
c98d1cbb
Pipeline
#8734
passed with stage
in 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/js/paperfilter.js
View file @
76899920
...
...
@@ -143,7 +143,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
++
)
{
addpaper
(
jsonContent
[
j
]);
}
...
...
@@ -164,7 +164,7 @@ function filter(year){
document
.
getElementById
(
"
filter2020
"
).
innerHTML
=
"
2020
"
document
.
getElementById
(
"
filterall
"
).
innerHTML
=
"
All (
"
+
count
+
"
)
"
count
=
0
}
*/
}
if
(
year
==
"
2020
"
)
{
...
...
@@ -200,6 +200,13 @@ function filter(year){
state2021
=
0
state2022
=
0
state2023
=
1
}
else
if
(
year
==
"
All
"
){
state2019
=
0
state2020
=
0
state2021
=
0
state2022
=
0
state2023
=
0
stateall
=
1
}
}
else
if
(
state
==
1
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment