-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Charts do not have unique value for "post_title" column in the database "wp_posts" table #915
Comments
Hey @vytisbulkevicius,
Yes, I have created a unique title using title + ID using WordPress filter, Please check and let me know if you have an issue. Thanks |
@girishpanchal30 Tested and the enhancement seems to work fine 🚀 Found something else, it happens with the live version of Visualizer also, but maybe it can be fixed in this PR: If i create a chart, make a copy of it and try to edit one of them (the initial chart or the copy), when i click on Save chart, the screen freezes and i have to refresh the page to make it work. I created a video to better outline the issue https://vertis.d.pr/s6P5Wm . If the problem needs more attention, i can create a new issue for it 👍 |
@irinelenache Fixed above mentioned issue, Please check with the latest changes. |
@girishpanchal30 Tested and the mentioned issue is fixed now, thank you 🚀 |
##### [Version 3.7.11](v3.7.10...v3.7.11) (2022-08-30) - Fix update axis baseline color [#925](#925) - Update more features images [#926](#926) - Fix update minor grid line field [#924](#924) - Add new filter for container attributes [#922](#922) - Fix axis data format issue [#920](#920) - Chart unique title [#915](#915) - Fix block back button issue [#930](#930) - Userguide broken documentation link [#918](#918)
🎉 This issue has been resolved in version 3.7.11 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Description:
One of the clients communicated an interesting request that we hadn't encountered before.
![image](https://user-images.githubusercontent.com/36594177/182018631-4e3881f1-1924-4184-b513-1abd2a9b0aae.png)
He's using Advanced Custom Fields (ACF) plugin to build a custom solution where a chart can be assigned to a user via ACF. The problem that he's facing is that Charts are stored as Posts in the DB and this is how he gets a list of charts -
But then, in the dropdown of the results or charts appear with the same name:
![image](https://user-images.githubusercontent.com/36594177/182018551-e6874f3a-38a3-490b-88d0-ab4d6c6a27f7.png)
This happens because in the database we save every chart with the same name for "post_title":
![image](https://user-images.githubusercontent.com/36594177/182018582-11eacb3a-b866-44df-abe6-ad853cf0481b.png)
Can we have unique naming for chart here (could be ID of the chart) without breaking something how charts currently works?
Alternatives:
Try to guess which chart you want to select.
Reported here - https://secure.helpscout.net/conversation/1958630731/330707/
The text was updated successfully, but these errors were encountered: