code cleanup
This commit is contained in:
parent
9884229f8c
commit
d8e36ed8d4
1 changed files with 0 additions and 3 deletions
|
@ -49,8 +49,6 @@ public class FrontEndController {
|
|||
@OpenApiResponse(status = "200", content = {@OpenApiContent(from = Parlamentarier[].class)})
|
||||
})
|
||||
public static void getAllParlamentarier(Context ctx) {
|
||||
String filter = ctx.queryParam("filter");
|
||||
Logger.info("Filter: '" + filter + "'");
|
||||
|
||||
List<Parlamentarier> parlamentarier = MongoPprUtils.getFilteredMembers(ctx);
|
||||
PPRUtils.sortParlamentarierByName(parlamentarier);
|
||||
|
@ -58,7 +56,6 @@ public class FrontEndController {
|
|||
Map<String, Object> attributes = new HashMap<>();
|
||||
attributes.put("parlamentarier", parlamentarier);
|
||||
attributes.put("parties", listFractionsFromMembers(MongoPprUtils.getAllParlamentarier("")));
|
||||
attributes.put("filter", filter);
|
||||
ctx.render("parlamentarier.ftl", attributes);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue