diff --git a/lib/pact_broker/ui/controllers/index.rb b/lib/pact_broker/ui/controllers/index.rb index 319946753..8fc461d55 100644 --- a/lib/pact_broker/ui/controllers/index.rb +++ b/lib/pact_broker/ui/controllers/index.rb @@ -16,7 +16,7 @@ class Index < Base end page_number = params[:page]&.to_i || 1 # Make page size smaller for data intensive query - page_size = params[:pageSize]&.to_i || ( params[:tags] == true ? 30 : 100) + page_size = params[:pageSize]&.to_i || (tags == true ? 30 : 100) options = { tags: tags, page_number: page_number,