From 49e97829d0ff74e95547dc922602c355e48e96ab Mon Sep 17 00:00:00 2001 From: Naz Date: Mon, 31 Oct 2022 16:47:08 +0800 Subject: [PATCH] Added auto-mapping for complimentary_plan column closes https://github.com/TryGhost/Team/issues/1076 refs https://github.com/TryGhost/Ghost/commit/f068e40723f4e8fdf188b4bdc0f3da866110aabb refs https://github.com/TryGhost/Ghost/commit/7fe9e06c4dd0675a5d3f8f37e55cf937a14188cf - The Members CSV importer was not auto-detecting and mapping the `complimentary_plan` column when it was present in CSV. This was to improve user-experience and NOT start the import as a "background job" by default. - With resent (see refs) changes having "complimentary_plan" column in the imported file does not send the import into the background. We can now safely include it as auto-detected field, without compromising user experience. --- ghost/admin/app/services/member-import-validator.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ghost/admin/app/services/member-import-validator.js b/ghost/admin/app/services/member-import-validator.js index dc7020965e..0f61e4279e 100644 --- a/ghost/admin/app/services/member-import-validator.js +++ b/ghost/admin/app/services/member-import-validator.js @@ -82,6 +82,7 @@ export default class MemberImportValidatorService extends Service { 'name', 'note', 'subscribed_to_emails', + 'complimentary_plan', 'labels', 'created_at' ];