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
b8a6ce13
Commit
b8a6ce13
authored
Oct 25, 2023
by
Traboulsi
Browse files
Update public/js/paperfilter.js
parent
32ac9721
Pipeline
#8790
passed with stage
in 10 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
public/js/paperfilter.js
View file @
b8a6ce13
...
...
@@ -72,6 +72,7 @@ function filter(year){
document
.
getElementById
(
"
filter2019
"
).
innerHTML
=
"
2019
"
count
=
0
}
else
if
(
year
==
"
2021
"
){
document
.
getElementById
(
"
nextblock
"
).
style
.
display
=
"
block
"
for
(
var
j
=
0
;
j
<
jsonContent
.
length
;
j
++
)
{
var
filterString
=
jsonContent
[
j
].
item
.
conference
.
date
.
toString
()
if
(
filterString
.
includes
(
'
2021
'
)
||
jsonContent
[
j
].
item
.
journal
.
year
==
2021
)
{
...
...
@@ -103,6 +104,7 @@ function filter(year){
document
.
getElementById
(
"
filter2019
"
).
innerHTML
=
"
2019
"
count
=
0
}
else
if
(
year
==
"
2019
"
){
document
.
getElementById
(
"
nextblock
"
).
style
.
display
=
"
block
"
for
(
var
j
=
0
;
j
<
jsonContent
.
length
;
j
++
)
{
var
filterString
=
jsonContent
[
j
].
item
.
conference
.
date
.
toString
()
if
(
filterString
.
includes
(
'
2019
'
)
||
jsonContent
[
j
].
item
.
journal
.
year
==
2019
)
{
...
...
@@ -134,6 +136,7 @@ function filter(year){
}
count
=
0
}
else
if
(
year
==
"
2023
"
){
document
.
getElementById
(
"
nextblock
"
).
style
.
display
=
"
block
"
for
(
var
j
=
0
;
j
<
jsonContent
.
length
;
j
++
)
{
var
filterString
=
jsonContent
[
j
].
item
.
conference
.
date
.
toString
()
if
(
filterString
.
includes
(
'
2023
'
)
||
jsonContent
[
j
].
item
.
journal
.
year
==
2023
)
{
...
...
@@ -165,6 +168,7 @@ function filter(year){
}
count
=
0
}
else
if
(
year
==
"
2022
"
){
document
.
getElementById
(
"
nextblock
"
).
style
.
display
=
"
block
"
for
(
var
j
=
0
;
j
<
jsonContent
.
length
;
j
++
)
{
var
filterString
=
jsonContent
[
j
].
item
.
conference
.
date
.
toString
()
if
(
filterString
.
includes
(
'
2022
'
)
||
jsonContent
[
j
].
item
.
journal
.
year
==
2022
)
{
...
...
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