summaryrefslogtreecommitdiffstats
path: root/includes/admin/views/_concerts_table.php
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2022-02-13 18:11:17 +0100
committerHarald Eilertsen <haraldei@anduin.net>2022-02-13 18:11:17 +0100
commitad2bcce71ed076eef5d52ee14dab3b7cea1c1dd8 (patch)
tree3594564d93cdc80d390385ad5e7fe95af889b473 /includes/admin/views/_concerts_table.php
parent5d07953def22327815c0caab94cf17d07eacc57b (diff)
downloadgigologadmin-ad2bcce71ed076eef5d52ee14dab3b7cea1c1dd8.tar.gz
gigologadmin-ad2bcce71ed076eef5d52ee14dab3b7cea1c1dd8.tar.bz2
gigologadmin-ad2bcce71ed076eef5d52ee14dab3b7cea1c1dd8.zip
Fix so pagination remembers filters in shortcode too.
Diffstat (limited to 'includes/admin/views/_concerts_table.php')
-rw-r--r--includes/admin/views/_concerts_table.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/admin/views/_concerts_table.php b/includes/admin/views/_concerts_table.php
index 86c1bf3..8ecd616 100644
--- a/includes/admin/views/_concerts_table.php
+++ b/includes/admin/views/_concerts_table.php
@@ -122,11 +122,11 @@ if (!class_exists("GiglogAdmin_ConcertsTable"))
if($this->page_no > 1) {
$content .=
'<span>'
- . '<a href="'. add_query_arg( 'page_no', 1, get_permalink() ) . '">'
+ . '<a href="'. add_query_arg( 'page_no', 1 ) . '">'
. 'First Page</a> -'
. '</span>'
. '<span>'
- . '<a href="' . add_query_arg( 'page_no', $this->previous_page, get_permalink() ) . '">'
+ . '<a href="' . add_query_arg( 'page_no', $this->previous_page ) . '">'
. ' Previous</a></span>';
}
@@ -140,11 +140,11 @@ if (!class_exists("GiglogAdmin_ConcertsTable"))
if ($this->page_no < $this->total_no_of_pages) {
$content .=
'<span>'
- . '<a href="' . add_query_arg( 'page_no', $this->next_page, get_permalink() ) . '">'
+ . '<a href="' . add_query_arg( 'page_no', $this->next_page ) . '">'
. 'Next</a> - '
. '</span>'
. '<span>'
- . '<a href="' . add_query_arg( 'page_no', $this->total_no_of_pages, get_permalink() ) .'">'
+ . '<a href="' . add_query_arg( 'page_no', $this->total_no_of_pages ) .'">'
. 'Last Page</a>'
. '</span>';
}