From c4d6c6bf3ec7392c9112174907d90fb4c9295d9a Mon Sep 17 00:00:00 2001 From: Vlad Date: Wed, 14 Aug 2024 07:56:00 -0400 Subject: [PATCH 1/2] Fix issue with adding fields in Edit Entry with Multiple Forms Related to https://github.com/GravityKit/GravityView/commit/28a95f5440ab88cebc00324fa122236bf898a04d --- assets/js/admin-views.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/admin-views.js b/assets/js/admin-views.js index 84dc347920..971f2fae4d 100644 --- a/assets/js/admin-views.js +++ b/assets/js/admin-views.js @@ -2219,7 +2219,7 @@ placeField: function ( $field, $addButton, $anchor, add_before_anchor = false ) { const vcfg = viewConfiguration; const $newField = $field.clone().hide(); - const templateId = $addButton.attr( 'data-templateid' ) ?? $addButton.parents( '.gv-section' ).find( '.view-template-select select' ).val(); + const templateId = $addButton.attr( 'data-templateid' ) ?? $addButton.parents( '.gv-section' ).find( '.view-template-select select' ).val() ?? $( "#gravityview_directory_template" ).val(); const data = { action: 'gv_field_options', From 2792e8566f2d7826a1d4a6075587637d2eda21b0 Mon Sep 17 00:00:00 2001 From: Vlad Date: Wed, 14 Aug 2024 07:57:04 -0400 Subject: [PATCH 2/2] Bump version to 2.27.1 & update changelog --- gravityview.php | 4 ++-- includes/class-admin-welcome.php | 10 ++++++++++ readme.txt | 7 +++++++ 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/gravityview.php b/gravityview.php index b9865691c8..e72ed9bd6d 100644 --- a/gravityview.php +++ b/gravityview.php @@ -3,7 +3,7 @@ * Plugin Name: GravityView * Plugin URI: https://www.gravitykit.com * Description: The best, easiest way to display Gravity Forms entries on your website. - * Version: 2.27 + * Version: 2.27.1 * Author: GravityKit * Author URI: https://www.gravitykit.com * Text Domain: gk-gravityview @@ -27,7 +27,7 @@ /** * The plugin version. */ -define( 'GV_PLUGIN_VERSION', '2.27' ); +define( 'GV_PLUGIN_VERSION', '2.27.1' ); /** * Full path to the GravityView file diff --git a/includes/class-admin-welcome.php b/includes/class-admin-welcome.php index 042cc44fe2..5993c2fdd3 100644 --- a/includes/class-admin-welcome.php +++ b/includes/class-admin-welcome.php @@ -296,6 +296,16 @@ public function changelog_screen() { * - If 4.28, include to 4.26. */ ?> +

2.27.1 on August 14, 2024

+ +

This release fixes an issue with adding fields in the View editor's Edit Entry layout when the Multiple Forms extension is enabled.

+ +

🐛 Fixed

+ + +

2.27 on August 13, 2024

This update resolves several issues related to the Multiple Forms extension, fixes the recently introduced :format merge tag modifier to return the Time field value in the local timezone, and adds a new filter to control which fields are added by default when creating a new View.

diff --git a/readme.txt b/readme.txt index 9dd108eef1..f82d5d00e8 100644 --- a/readme.txt +++ b/readme.txt @@ -21,6 +21,13 @@ Beautifully display your Gravity Forms entries. Learn more on [gravitykit.com](h == Changelog == += 2.27.1 on August 14, 2024 = + +This release fixes an issue with adding fields in the View editor's Edit Entry layout when the Multiple Forms extension is enabled. + +#### 🐛 Fixed +* Fields added to the Edit Entry layout in the View editor could not be configured and would disappear after saving the View when Multiple Forms was enabled. + = 2.27 on August 13, 2024 = This update resolves several issues related to the Multiple Forms extension, fixes the recently introduced `:format` merge tag modifier to return the Time field value in the local timezone, and adds a new filter to control which fields are added by default when creating a new View.