Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEV-388 add the pgnum to the view type selector and the sorting form #556

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/templates/cms/category.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ <h1 class="page-header">
</script>
<form method="get" name="viewForm" action="[@config:CURRENT_URL@]" class="hidden">
<input name="rf" type="hidden" value="[%FILTER_CODE%][%/FILTER_CODE%]">
<input name="pgnum" type="hidden" value="[@form:pgnum@]" />
<input name="viewby" type="hidden" value=""/>
</form>
<div class="viewby btn-group">
Expand All @@ -106,6 +107,7 @@ <h1 class="page-header">
<div class="col-8 col-md-5 col-lg-4">
<form method="get" action="[@config:CURRENT_URL@]">
<input name="rf" type="hidden" value="[%FILTER_CODE%][%/FILTER_CODE%]">
<input name="pgnum" type="hidden" value="[@form:pgnum@]" />
<div class="form-row">
<label class="col-2 col-form-label" for="sortby">Sort</label>
<div class="col-10">
Expand Down
2 changes: 1 addition & 1 deletion src/templates/cms/home.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</section>
[%/param%]
[%param *ifempty%]
<a class="neto-placeholder neto-placeholder-rotator btn-loads" data-loading-text="<i class='fa fa-spinner fa-spin' style='font-size: 14px'></i>" href="[@config:home_url@]/_cpanel?item=adw&page=view&id=New&plan_id=1">
<a class="neto-placeholder neto-placeholder-rotator btn-loads" data-loading-text="<i class='fa fa-spinner fa-spin' style='font-size: 14px'></i>" href="[@config:home_url@]/_cpanel/adw/view?id=New&plan_id=1">
Click to add a banner<br/>
</a>
[%/param%]
Expand Down
3 changes: 2 additions & 1 deletion src/templates/cms/includes/sidebar.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ <h3 class="h4 mb-0">
<p id="price-range"></p><p id="price-range-text" class="price_range"></p>
<form id="pricesearch" method="get" action="[@config:current_url@]">
<input type="hidden" name="rf" value="[%FILTER_CODE id:'price'%][%/FILTER_CODE%]">
<input name="pr" type="hidden" value="">
<input name="pgnum" type="hidden" value="[@form:pgnum@]" />
<input name="pr" type="hidden" value="">
<input type="submit" value="Filter Price" class="btn btn-outline-secondary btn-sm" />
[%if [@selected@]%]<a href="[@remove_url@]" class="btn btn-outline-secondary btn-sm" rel="nofollow"> Clear</a>[%/if%]
</form>
Expand Down
2 changes: 2 additions & 0 deletions src/templates/cms/search_results.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ <h1>
</script>
<form method="get" name="viewForm" action="[@config:CURRENT_URL@]" class="hidden">
<input name="rf" type="hidden" value="[%filter_code/%]" >
<input name="pgnum" type="hidden" value="[@form:pgnum@]" />
<input name="viewby" type="hidden" value="" />
</form>
<div class="viewby btn-group">
Expand All @@ -71,6 +72,7 @@ <h1>
<div class="col-8 col-md-5 col-lg-4">
<form method="get" class="form-horizontal" action="[@config:CURRENT_URL@]">
<input name="rf" type="hidden" value="[%filter_code/%]" >
<input name="pgnum" type="hidden" value="[@form:pgnum@]" />
<div class="form-row">
<label class="col-2 col-form-label" for="sortby">Sort</label>
<div class="col-10">
Expand Down