add filter years
This commit is contained in:
@@ -182,4 +182,22 @@ function changepage(){
|
||||
}
|
||||
|
||||
|
||||
function changeyear(){
|
||||
|
||||
var e = document.getElementById("year_filter");
|
||||
var curryear = e.options[e.selectedIndex].value;
|
||||
|
||||
yearurl = '/mybooks/gazeta/';
|
||||
|
||||
if (curryear !== 'all')
|
||||
yearurl = yearurl + curryear + '/1';
|
||||
|
||||
location.href = yearurl;
|
||||
|
||||
return true;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user