mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 04:31:10 +08:00
basic implementation of per-category new/latest etc filters
This commit is contained in:
@ -139,7 +139,8 @@ class ListController < ApplicationController
|
||||
return {
|
||||
page: params[:page],
|
||||
topic_ids: param_to_integer_list(:topic_ids),
|
||||
exclude_category: (params[:exclude_category] || menu_item.try(:filter))
|
||||
exclude_category: (params[:exclude_category] || menu_item.try(:filter)),
|
||||
category: params[:category]
|
||||
}
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user