Skip to content

Commit 82b88d0

Browse files
committed
pkp/pkp-lib#12003 fix category links for OPS
1 parent 2db8720 commit 82b88d0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

templates/frontend/pages/catalogCategory.tpl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
{assign var="description" value=$category->getLocalizedDescription()|strip_unsafe_html}
3838
<div class="about_section{if $image} has_image{/if}{if $description} has_description{/if}">
3939
{if $image}
40-
<div class="cover" href="{url router=$smarty.const.ROUTE_PAGE page="catalog" op="fullSize" type="category" id=$category->getId()}">
41-
<img src="{url router=$smarty.const.ROUTE_PAGE page="catalog" op="thumbnail" type="category" id=$category->getId()}" alt="null" />
40+
<div class="cover" href="{url router=$smarty.const.ROUTE_PAGE page="preprints" op="fullSize" type="category" id=$category->getId()}">
41+
<img src="{url router=$smarty.const.ROUTE_PAGE page="preprints" op="thumbnail" type="category" id=$category->getId()}" alt="null" />
4242
</div>
4343
{/if}
4444
<div class="description">
@@ -81,12 +81,12 @@
8181

8282
{* Pagination *}
8383
{if $prevPage > 1}
84-
{capture assign=prevUrl}{url router=$smarty.const.ROUTE_PAGE page="catalog" op="category" path=$category->getPath()|to_array:$prevPage}{/capture}
84+
{capture assign=prevUrl}{url router=$smarty.const.ROUTE_PAGE page="preprints" op="category" path=$category->getPath()|to_array:$prevPage}{/capture}
8585
{elseif $prevPage === 1}
86-
{capture assign=prevUrl}{url router=$smarty.const.ROUTE_PAGE page="catalog" op="category" path=$category->getPath()}{/capture}
86+
{capture assign=prevUrl}{url router=$smarty.const.ROUTE_PAGE page="preprints" op="category" path=$category->getPath()}{/capture}
8787
{/if}
8888
{if $nextPage}
89-
{capture assign=nextUrl}{url router=$smarty.const.ROUTE_PAGE page="catalog" op="category" path=$category->getPath()|to_array:$nextPage}{/capture}
89+
{capture assign=nextUrl}{url router=$smarty.const.ROUTE_PAGE page="preprints" op="category" path=$category->getPath()|to_array:$nextPage}{/capture}
9090
{/if}
9191
{include
9292
file="frontend/components/pagination.tpl"

0 commit comments

Comments
 (0)