Commit d7207d12 authored by Liang Ding's avatar Liang Ding

🎨 #12622

parent 00de0c95
......@@ -131,7 +131,7 @@ public class SitemapProcessor {
* @throws Exception exception
*/
private void addArticles(final Sitemap sitemap) throws Exception {
final Query query = new Query().setCurrentPageNum(1).
final Query query = new Query().setPage(1, Integer.MAX_VALUE).
setFilter(new PropertyFilter(Article.ARTICLE_IS_PUBLISHED, FilterOperator.EQUAL, true)).
addSort(Article.ARTICLE_CREATED, SortDirection.DESCENDING).
select(Article.ARTICLE_PERMALINK, Article.ARTICLE_UPDATED);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment