Add comment about something that is pending

This commit is contained in:
Jorge Manrubia
2025-04-24 18:53:35 +02:00
parent 00bcc2183e
commit 0be58f50a5
@@ -10,12 +10,13 @@ module DayTimelinesScoped
private
def restore_collections_filter
cookies.delete(:collection_filter) if params[:clear_filter]
set_collections_filter if cookies[:collection_filter].present?
# TODO: This is not working as intended yet, I'll fix
set_collections_filter_from_cookie
cookies[:collection_filter] = @filter.collection_ids.join(",")
end
def set_collections_filter
@filter.collection_ids = cookies[:collection_filter].split(",")
cookies[:collection_filter] = @filter.collection_ids.join(",")
def set_collections_filter_from_cookie
@filter.collection_ids = cookies[:collection_filter].split(",") if cookies[:collection_filter].present?
end
def set_day_timeline