Use "max_position" instead of "after" for compat

This commit is contained in:
Zed
2019-10-08 15:15:47 +02:00
parent 381a8a106c
commit 211b086f4d
10 changed files with 17 additions and 40 deletions

View File

@@ -19,7 +19,7 @@ proc renderNewer*(query: Query; path: string): VNode =
proc renderMore*(query: Query; minId: string): VNode =
buildHtml(tdiv(class="show-more")):
a(href=(&"?{getQuery(query)}after={minId}")):
a(href=(&"?{getQuery(query)}max_position={minId}")):
text "Load more"
proc renderNoMore(): VNode =