-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[WIP] Fix "Order filtering by status does not always refresh properly" bug #2902 #2925
Conversation
- add search query to filter query
…to esther-fix-issue-2902
@kieckhafer @joykare Can you guys review this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Following the instructions here, I am able to do everything I should be able to.
However, I cannot click on the Shipping Status dropdown... nothing happens when I click. Is this normal? I know we were still building that out.
@kieckhafer, the Shipping Status dropdown wasn't included for this PR. I think @joykare is working on that. |
@kieckhafer wasn't already in marketplace there's a PR for that: #2914 However, LGTM |
@joykare OK, I just checked #2914 so i know it works there. In that case, this also LGTM. There are some linting errors, however they are the same as the errors that were in #2893 and various other PR's and I fixed them in my PR, and I think they are fixed in others, so I'll merge this as is to avoid conflicts on fixes that are already done. |
@kieckhafer is this good to go now? |
Yes... good to go... was waiting on tests/linting to pass
…--
Erik Kieckhafer
Software Engineer, Reaction Commerce <http://www.reactioncommerce.com>
On September 26, 2017 at 6:54:33 PM, Spencer Norman ( ***@***.***) wrote:
@kieckhafer <https://github.com/kieckhafer> is this good to go now?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2925 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AERk19Hzt-xrEBAPOYyRpeBHF_jd3gWnks5smarZgaJpZM4Pgn2j>
.
|
…to esther-fix-issue-2902
Fixed by #2972 |
Resolves #2902
After selecting one status then another, sometimes orders that are valid do not show up
query contains filter information sent to the server. From previous implementation,
Object.assign
is used to updatethis.state.query
in Orders react component. However, this not only updates but also merges query keys in state. Hence a wrong query is parsed on to the server.Fix
To update filter query and search query, current search query is also parsed to state. We can update query with just the current search query (if it exists)
Test