mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
FIX: Zero is a valid value for the page parameter
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ class TopicQuery
|
||||
{
|
||||
max_posts: zero_up_to_max_int,
|
||||
min_posts: zero_up_to_max_int,
|
||||
page: one_up_to_max_int,
|
||||
page: zero_up_to_max_int,
|
||||
exclude_category_ids: array_int_or_int
|
||||
}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user