Skip to content
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

Dashboard - Top 5 Search Terms link issue #1917

Merged
merged 5 commits into from
Dec 31, 2021
Merged

Dashboard - Top 5 Search Terms link issue #1917

merged 5 commits into from
Dec 31, 2021

Conversation

addison74
Copy link
Contributor

Go to Dashboard page in Backend and take a look to the following blocks Last 5 Search Terms and Top 5 Search Terms.

Now place your mouse pointer over a search term in Last 5 Search Terms list and take a look to the URL. Here is the link in my case https://www.mydomain.tld/index.php/admin/catalog_search/edit/id/41/key/5874688c27ec9781d42bacfd92420f0e/

Now place your mouse pointer over a search term in Top 5 Search Terms list and take a look to the URL. Here is the link in my case https://www.mydomain.tld/index.php/admin/catalog_search/edit/key/5874688c27ec9781d42bacfd92420f0e/

The last link has an issue. Comparing with the first one which redirects correctly to edit the search term this one is opening the page to create a new search query not editing the search term. This is happening because the link has missing two parameters id and id_number between /edit/ ... /key/

This PR fixes this issues and closes issue #1310 .

@github-actions github-actions bot added the Component: CatalogSearch Relates to Mage_CatalogSearch label Dec 21, 2021
kiatng
kiatng previously approved these changes Dec 22, 2021
Copy link
Contributor

@kiatng kiatng left a comment

Choose a reason for hiding this comment

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

Tested and worked.

elidrissidev
elidrissidev previously approved these changes Dec 22, 2021
Copy link
Member

@elidrissidev elidrissidev left a comment

Choose a reason for hiding this comment

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

Tested, working well.

@addison74 addison74 dismissed stale reviews from elidrissidev and kiatng via 495b5e1 December 25, 2021 11:46
@github-actions github-actions bot added Component: Reports Relates to Mage_Reports Template : rwd Relates to rwd template labels Dec 25, 2021
@Flyingmana Flyingmana merged commit f99c9b0 into OpenMage:1.9.4.x Dec 31, 2021
@Flyingmana
Copy link
Contributor

@addison74 be careful with the source branches for the PRs, this one contained also the changes from #1920

I still merged it, as we already merged the other one

@addison74
Copy link
Contributor Author

I know that but I did not want to close this PR. I will try to avoid such mistake in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: CatalogSearch Relates to Mage_CatalogSearch Component: Reports Relates to Mage_Reports Template : rwd Relates to rwd template
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants