Skip to content

Conversation

@saifsultanc
Copy link
Contributor

@saifsultanc saifsultanc commented Dec 13, 2024

Context

⛑️ Ticket(s): https://secure.helpscout.net/conversation/2790631747/75478

Summary

The snippet does not seem to work, it hasn't been update in over 2 years. The DB we are accessing is wp_rg_lead_detail, but it seems GF 2.3+ it's expected that the wp_gf_entry_meta should be used instead. GF codebase for context: https://github.com/gravityforms/gravityforms/blob/master/export.php#L892-L910

So we just apply the DB update, and that fixes the issue.

Here is how it works after the update:
https://www.loom.com/share/1819b282338d4832a68ce985787b16bb

@saifsultanc saifsultanc added the bug Something isn't working label Dec 13, 2024
Copy link
Contributor

@claygriffiths claygriffiths left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One quick suggestion regarding how to get the table name.

Otherwise, LGTM. This will increase the minimum version requirement to 2.3, but I think we can all agree that's fine for a snippet 😃

When ready, S&M with:

`gpuid-fill-sequence-gaps.php`: Updated to use database schema in Gravity Forms 2.3 and newer.

@github-actions
Copy link

Warnings
⚠️ When ready, don't forget to request reviews on this pull request from your fellow wizards.

Generated by 🚫 dangerJS against 51da0ff

@saifsultanc saifsultanc merged commit e21b59b into master Dec 14, 2024
3 checks passed
@saifsultanc saifsultanc deleted the saif/fix/75190-fix-snippet-gpuid branch December 14, 2024 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Development

Successfully merging this pull request may close these issues.

3 participants