소스 검색

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 13 시간 전
부모
커밋
d16af9f7df
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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');
 			$title = _t('index.menu.sort.desc');
 		}
 		}
 		$url_order = Minz_Request::currentRequest();
 		$url_order = Minz_Request::currentRequest();
+		unset($url_order['params']['cid']);
 	?>
 	?>
 	<div id="nav_menu_sort" class="group">
 	<div id="nav_menu_sort" class="group">
 		<div class="dropdown">
 		<div class="dropdown">