Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

fix($filter): $orderBy filter with dates when sorting multiple fields #6746

Closed
wants to merge 1 commit into from

Conversation

SekibOmazic
Copy link
Contributor

Request Type:

How to reproduce:

Component(s): misc core

Impact: small

Complexity: small

This issue is related to:

Detailed Description:

Other Comments:

Request Type:

How to reproduce:

Component(s):

Impact: small

Complexity: small

This issue is related to:

Detailed Description:

Other Comments:

extend compare method to use Date.valueOf() when comparing dates

closes #6676

@mary-poppins
Copy link

Thanks for the PR! Please check the items below to help us merge this faster. See the contributing docs for more information.

  • Uses the issue template (#6746)

If you need to make changes to your pull request, you can update the commit with git commit --amend.
Then, update the pull request with git push -f.

Thanks again for your help!

@lgalfaso
Copy link
Contributor

@SekibOmazic Thanks for the PR.
Can you please rebase this into one commit and amend the commit message to point to the right issue?

@lgalfaso lgalfaso added this to the 1.3.0 milestone Mar 20, 2014
…e fields

extend compare method to use Date.valueOf() when comparing dates

closes angular#6675

remove custom isDate function - angular already has one
@SekibOmazic
Copy link
Contributor Author

@lgalfaso done.

@IgorMinar IgorMinar modified the milestones: 1.3.0-beta.16, 1.3.0 Jul 14, 2014
petebacondarwin pushed a commit that referenced this pull request Jul 15, 2014
ckknight pushed a commit to ckknight/angular.js that referenced this pull request Jul 16, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

$orderBy filter with dates when sorting against multiple fields
6 participants