Skip to content

Commit

Permalink
Merge bd522dc into 13eed64
Browse files Browse the repository at this point in the history
  • Loading branch information
ArdentZeal committed Mar 31, 2014
2 parents 13eed64 + bd522dc commit 2ae7bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/03-params.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ app.factory('ngTableParams', ['$q', '$log', function ($q, $log) {
* @returns {Array} Return true if field sorted by direction
*/
this.isSortBy = function (field, direction) {
return angular.isDefined(params.sorting[field]) && params.sorting[field] == direction;
return angular.isDefined(params.sorting[field]) && angular.equals(params.sorting[field], direction);
};

/**
Expand Down

0 comments on commit 2ae7bf0

Please sign in to comment.