From ff48567c9c628c44833da85c0edcd6b5332a856c Mon Sep 17 00:00:00 2001 From: Doeke Norg Date: Wed, 22 Jan 2025 10:12:25 +0100 Subject: [PATCH] Show search bar when hiding data until search is performed --- readme.txt | 4 ++ .../views/gravityview-layout-builder.php | 39 ++++++++++--------- 2 files changed, 25 insertions(+), 18 deletions(-) diff --git a/readme.txt b/readme.txt index 0600f034ec..803c5ab6e3 100644 --- a/readme.txt +++ b/readme.txt @@ -21,6 +21,10 @@ Beautifully display your Gravity Forms entries. Learn more on [gravitykit.com](h == Changelog == += develop = + +* Fixed: The Search Bar would not always be visible on Views with the Layout Builder. + = 2.34 on January 9, 2025 = This release introduces the [Layout Builder](https://www.gravitykit.com/announcing-gravityview-2-34-all-new-layout-builder) that allows creating custom layouts with rows and columns directly in the View editor, adds support for exporting entries by Approval Status, and includes various fixes and improvements. diff --git a/templates/views/gravityview-layout-builder.php b/templates/views/gravityview-layout-builder.php index 5f75b7b3e5..73b393b6dc 100644 --- a/templates/views/gravityview-layout-builder.php +++ b/templates/views/gravityview-layout-builder.php @@ -16,15 +16,17 @@ gravityview_before( $gravityview ); gravityview_header( $gravityview ); - +?> +
entries->count() ) { ?> -
-
-

-
-
+
+
+

+
+
entries->all() as $entry ) { ?> -
+
-
+
$areas ) { $column = $col; ?> -
+
-
+
-
+
-
+
+
+view->get_anchor_id() ) . '" class="' . esc_attr( $class ) . '">{content}', + '
{content}
', $gravityview->view->get_anchor_id(), $gravityview->view );