mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Validate before and bumped_before options in TopicQuery (#23451)
This commit is contained in:
@@ -19,6 +19,8 @@ class TopicQuery
|
||||
array_or_string = lambda { |x| Array === x || String === x }
|
||||
|
||||
{
|
||||
before: zero_up_to_max_int,
|
||||
bumped_before: zero_up_to_max_int,
|
||||
max_posts: zero_up_to_max_int,
|
||||
min_posts: zero_up_to_max_int,
|
||||
page: zero_up_to_max_int,
|
||||
|
||||
Reference in New Issue
Block a user