mirror of
https://github.com/discourse/discourse.git
synced 2025-02-11 22:04:58 +00:00
0494157452
``` 1) TopicsFilter#filter_from_query_string ordering topics filter when ordering topics by creation date when query string is `order:created-invalid` should return topics ordered by the default order Failure/Error: expect( TopicsFilter .new(guardian: Guardian.new) .filter_from_query_string("order:#{order}-invalid") .pluck(:id), ).to eq(Topic.all.order(:id).pluck(:id)) expected: [484, 485, 486] got: [486, 484, 485] ```