소스 검색

Merge pull request #554 from visuddhinanda/master

:bug: 首页点文章进去之后,不显示文集目录
visuddhinanda 5 년 전
부모
커밋
76ac262e9d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/pcdl/index.js

+ 1 - 1
app/pcdl/index.js

@@ -28,7 +28,7 @@ function index_load_collect_new() {
 				gLocal.gui.ongoing + "</div>";
 
 				html += "<div class='title'>";
-				html += "<a href='../article/?view=article&id=" + iterator.id + "'>" + iterator.title + "</a>";
+				html += "<a href='../article/?view=article&id=" + iterator.id + "&collection=" + iterator.collect.id+"'>" + iterator.title + "</a>";
 				html += "</div>";
 
 				html += "<div class='collect'>";