Browse Source

Fix change sorting during paging (#8688)

Continuation ID should be reset when changing sorting order, especially between DESC and ASC but also the other variants.
Alexandre Alapetite 10 hours ago
parent
commit
d16af9f7df
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/layout/nav_menu.phtml

+ 1 - 0
app/layout/nav_menu.phtml

@@ -234,6 +234,7 @@
 			$title = _t('index.menu.sort.desc');
 		}
 		$url_order = Minz_Request::currentRequest();
+		unset($url_order['params']['cid']);
 	?>
 	<div id="nav_menu_sort" class="group">
 		<div class="dropdown">