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-94f89814c4dfmaster
parent
1b23384b47
commit
670920e070
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue