Fixes page links in templateList with active application filter
authorMatthias Schmidt <gravatronics@live.com>
Thu, 8 Aug 2013 15:59:54 +0000 (17:59 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 8 Aug 2013 15:59:54 +0000 (17:59 +0200)
wcfsetup/install/files/acp/templates/templateList.tpl

index 42044acfe1e7102148ff01e39d01ff140bd0cabf..9f982701c2396cd6a8f55b731d1b8cfa0ed702fd 100644 (file)
@@ -28,7 +28,7 @@
        <div class="container containerPadding marginTop">
                <fieldset>
                        <legend>{lang}wcf.global.filter{/lang}</legend>
-               
+                       
                        <dl>
                                <dt><label for="templateGroupID">{lang}wcf.acp.template.group{/lang}</label></dt>
                                <dd>
@@ -71,7 +71,8 @@
        {assign var='linkParameters' value=''}
        {if $templateGroupID}{capture append=linkParameters}&templateGroupID={@$templateGroupID}{/capture}{/if}
        {if $searchTemplateName}{capture append=linkParameters}&searchTemplateName={@$searchTemplateName|rawurlencode}{/capture}{/if}
-               
+       {if $application}{capture append=linkParameters}&application={@$application|rawurlencode}{/capture}{/if}
+       
        {pages print=true assign=pagesLinks controller="TemplateList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder$linkParameters"}
        
        <nav>
                                {/foreach}
                        </tbody>
                </table>
-               
        </div>
        
        <div class="contentNavigation">
                <nav>
                        <ul>
                                <li><a href="{link controller='TemplateAdd'}{/link}" class="button"><span class="icon icon16 icon-plus"></span> <span>{lang}wcf.acp.template.add{/lang}</span></a></li>
-                       
+                               
                                {event name='contentNavigationButtonsBottom'}
                        </ul>
                </nav>