Revision 60588
Added by Konstantina Galouni about 3 years ago
AdminPortalRelationsController.java | ||
---|---|---|
200 | 200 |
public List<PortalPage> getPagesForPortalByType(@PathVariable PortalType portalType, |
201 | 201 |
@PathVariable(value = "pid") String pid, |
202 | 202 |
@RequestParam(value="page_type", required=false) String page_type, |
203 |
//@RequestParam(value="page_route", required=false) String page_route,
|
|
203 |
@RequestParam(value="page_route", required=false) String page_route, |
|
204 | 204 |
@RequestParam(value="div", required = false) String div, |
205 | 205 |
@RequestParam(value="with_positions", required = false) String with_positions) { |
206 |
return portalService.getPagesForPortalByType(pid, page_type, null, div, with_positions);
|
|
206 |
return portalService.getPagesForPortalByType(pid, page_type, page_route, div, with_positions);
|
|
207 | 207 |
} |
208 | 208 |
|
209 | 209 |
// not used by portals |
Also available in: Unified diff
[Trunk | Admin Tools Library]:
1. DivHelpContentDAO.java & MongoDBDivHelpContentDAO.java: [Bug fix] Remove method "findByPortalAndPage()" as there is no "page" field in "DivHelpContent" class.
2. DivHelpContentService.java: [Bug fix] In method "getDivHelpContentsBasic()" change the way parameter "pageId" is used to filter results - find page in "DivId" not "DivHelpContent".
3. AdminPortalRelationsController.java: In method "getPagesForPortalByType()" add again optional parameter "page_route".