Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kieckhafer
Copy link
Member

@kieckhafer kieckhafer commented Dec 20, 2019

Resolves #5949
Impact: minor
Type: bugfix|refactor

Issue

New tags are not showing up in the tags table in the admin, until the page is refreshed

Solution

Update the query that retrieves the tags to get data from the network, in addition to the cache.

cache-and-network will use the cache first, so the page will load with the previous data, and then immediately update with new data. This query will not be hit consistently on the customer side, only sparingly on the admin side, so the performance hit that will occur from loading via the network shouldn't be noticeable.

Breaking changes

None

Testing

  1. Add new tags via the admin UI
  2. See the tags show up in the tag table immediately, without page refresh.

Copy link
Member

@manueldelreal manueldelreal left a comment

Choose a reason for hiding this comment

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

:shipit:

@manueldelreal manueldelreal merged commit 17be670 into release-2.9.1 Dec 20, 2019
@kieckhafer kieckhafer deleted the fix-kieckhafer-tagsNotShowing branch January 6, 2020 21:47
@kieckhafer kieckhafer mentioned this pull request Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants