Added a year parameter of the export function. Using /ccm/scipublications/export?format=$format&year=$year it is now possible to

export all publications for a specific year.


git-svn-id: https://svn.libreccm.org/ccm/trunk@2548 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2014-03-01 14:10:58 +00:00
parent 1b23384b47
commit 670920e070
1 changed files with 5 additions and 0 deletions

View File

@ -493,6 +493,11 @@ public class SciPublicationsServlet extends BaseApplicationServlet {
getNegotiatedLocale().getLanguage());
}
if (parameters.containsKey("year")) {
publications.addEqualsFilter("yearOfPublication",
parameters.get("year")[0]);
}
publications.addOrder("yearOfPublication desc");
publications.addOrder("authorsStr");
publications.addOrder("title");