Skip to content

Charts do not have unique value for "post_title" column in the database "wp_posts" table #915

Closed
@vytisbulkevicius

Description

@vytisbulkevicius

Description:

One of the clients communicated an interesting request that we hadn't encountered before.
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 -
image

But then, in the dropdown of the results or charts appear with the same name:
image

This happens because in the database we save every chart with the same name for "post_title":
image

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequest to improve or optimize an existing feature or functionality in the projectreleasedIndicate that an issue has been resolved and released in a particular version of the product.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions