Skip to content

Commit

Permalink
Update zsc.js
Browse files Browse the repository at this point in the history
Remove year limit of article searching.
Because many Arxiv preprinted papers are always earlier than officially published papers.
  • Loading branch information
nico-zck committed Mar 31, 2020
1 parent a2ce4a6 commit 25f3028
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions chrome/content/zsc.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,10 @@ zsc.generateItemUrl = function(item) {
}
}

let year = item.getField('year');
if (year) {
url += '&as_ylo=' + year + '&as_yhi=' + year;
}
// let year = item.getField('year');
// if (year) {
// url += '&as_ylo=' + year + '&as_yhi=' + year;
// }

return encodeURI(url);
};
Expand Down

0 comments on commit 25f3028

Please sign in to comment.