Another Bugfix for the MPA which I found while working on Foundry: The value "all" for the page parameters works now. If a MPA is called with ?page=all all sections of the MPA are shown.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2969 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
00d473158b
commit
627dfd8206
|
|
@ -59,7 +59,11 @@ public class ArticleSectionXMLGenerator implements ExtraXMLGenerator {
|
|||
}
|
||||
|
||||
final PageNumber number = getPageNumber(state);
|
||||
content.addAttribute("pageNumber", number.getPageNumber().toString());
|
||||
if (number.wantAllSections()) {
|
||||
content.addAttribute("pageNumber", "all");
|
||||
} else {
|
||||
content.addAttribute("pageNumber", number.getPageNumber().toString());
|
||||
}
|
||||
}
|
||||
|
||||
public void addGlobalStateParams(final Page page) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue