From 4bd20a4098d7d9295d4cdf03bd38875db95547b6 Mon Sep 17 00:00:00 2001 From: kentsanggds Date: Fri, 19 Jul 2024 18:16:19 +0100 Subject: [PATCH 1/2] Update MAX_SIZE deletion to 15647 Delete 15647 records as one of the publishers wishes to remove all their datasets. --- app/lib/ckan/v26/depaginator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/ckan/v26/depaginator.rb b/app/lib/ckan/v26/depaginator.rb index b4ead826..914372d0 100644 --- a/app/lib/ckan/v26/depaginator.rb +++ b/app/lib/ckan/v26/depaginator.rb @@ -2,7 +2,7 @@ module CKAN module V26 class Depaginator include CKAN::Modules::URLBuilder - MAX_DELETIONS = 8000 + MAX_DELETIONS = 15647 def self.depaginate(*args, **kwargs) new(*args, **kwargs).depaginate From 7cfecaffb779ee85776683b9eb73fe38c7c06922 Mon Sep 17 00:00:00 2001 From: kentsanggds Date: Fri, 19 Jul 2024 18:19:54 +0100 Subject: [PATCH 2/2] Fix lint --- app/lib/ckan/v26/depaginator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/ckan/v26/depaginator.rb b/app/lib/ckan/v26/depaginator.rb index 914372d0..2d7769b6 100644 --- a/app/lib/ckan/v26/depaginator.rb +++ b/app/lib/ckan/v26/depaginator.rb @@ -2,7 +2,7 @@ module CKAN module V26 class Depaginator include CKAN::Modules::URLBuilder - MAX_DELETIONS = 15647 + MAX_DELETIONS = 15_647 def self.depaginate(*args, **kwargs) new(*args, **kwargs).depaginate