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

fix/Grid - jsSearch #707

Merged
merged 2 commits into from
May 13, 2019
Merged

fix/Grid - jsSearch #707

merged 2 commits into from
May 13, 2019

Conversation

ibelar
Copy link
Contributor

@ibelar ibelar commented May 13, 2019

Some minor fix/improvement to Grid, jsSearch and js package:

Grid

  • add property for setting sort parameter in url.
    Grid::sortTrigger

jsSearch

  • add property for setting input initial value, for example when page need to be loaded using a query parameter.
    jsSearch::initValue
  • add property for setting jsSearch not to use ajax reload but rather reload the entire page.
    jsSearch::useAjax Default to true.
    useful when model query need to be control via url parameter and entire page reload is needed.

jsPackage update

  • update jsSearch plugin accordingly
  • refactor jQuery helper function file in order to include a new url function: $.atkRemoveParam
  • fix plugin.js where calling a plugin function prior to it's instantiation was causing issue.

@romaninsh romaninsh merged commit 63ad502 into develop May 13, 2019
@romaninsh romaninsh deleted the fix/grid-jssearch branch May 13, 2019 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants