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

Filter issue in table #44

Closed
Zizzamia opened this issue Nov 11, 2014 · 0 comments
Closed

Filter issue in table #44

Zizzamia opened this issue Nov 11, 2014 · 0 comments
Assignees
Labels
Milestone

Comments

@Zizzamia
Copy link
Owner

This code will fix an issue related to the filters in table

    if ($attrs.filters) {
      urlQuery = tastyUtil.joinObjects(urlQuery, filters);
      urlQuery['sortBy'] = undefined;
      urlQuery['sortOrder'] = undefined;
      urlQuery['page'] = undefined;
      urlQuery['count'] = undefined;
    }
    if ($scope.theadDirective) {
      urlQuery = tastyUtil.setProperty(urlQuery, params, 'sortBy');
      urlQuery = tastyUtil.setProperty(urlQuery, params, 'sortOrder');
    }
    if ($scope.paginationDirective) {
      urlQuery = tastyUtil.setProperty(urlQuery, params, 'page');
      urlQuery = tastyUtil.setProperty(urlQuery, params, 'count');
    }
@Zizzamia Zizzamia added the bug label Nov 11, 2014
@Zizzamia Zizzamia self-assigned this Nov 11, 2014
@Zizzamia Zizzamia added this to the Version 0.3.1 milestone Nov 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant