Skip to content

Fix duplicate columns in ORDER BY statement bug - #6706

Closed
rdiaztushman wants to merge 5 commits into
sequelize:v3from
dioscouri:v3
Closed

rdiaztushman wants to merge 5 commits into
sequelize:v3from
dioscouri:v3

Conversation

@rdiaztushman

@rdiaztushman rdiaztushman commented Oct 15, 2016 •

Copy link
Copy Markdown

For the v3 branch and only for MSSQL queries. Fixes bug causing duplicate columns in ORDER BY statement when order is already specified. Error from SQL: "A column has been specified more than once in the order by list. Columns in the order by list must be unique."

@janmeier janmeier left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Fix looks good, a couple of unit tests need to be updated to fit the new, correct behaviour

@felixfbecker

Copy link
Copy Markdown
Contributor

What about master?

@codecov-io

codecov-io commented Oct 25, 2016 •

Copy link
Copy Markdown

Codecov Report

Merging #6706 into v3 will decrease coverage by 4.38%.
The diff coverage is 66.66%.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 85412bf...1e6e74a. Read the comment docs.

@stale stale Bot added the stale label Jun 29, 2017
@stale stale Bot closed this Jun 29, 2017
@jacinto123

Copy link
Copy Markdown

Is there any chance of getting this merged in? I am having this issue?

@felixfbecker

Copy link
Copy Markdown
Contributor

@jacinto123 if you wanna port this to master

@jacinto123

Copy link
Copy Markdown

@felixfbecker If I am understanding this correctly all that needs to do is the tests? Or is there something else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants