Skip to content

Conversation

michaelzangerle
Copy link
Contributor

Tasks:

  • changes in admin bundle
  • newest husky version
  • build
  • got feedback

Informations:

Q A
Bug fix? yes
New feature? yes
Tests pass? none
Fixed tickets none
Doc none

Requires:

@michaelzangerle michaelzangerle changed the title [WIP][FEATURE] added sorting to user settings in lists [FEATURE] added sorting to user settings in lists Jan 13, 2015
return url + '?sortBy=' + order.attribute + '&sortOrder=' + order.direction;
} else {
return url + '&sortBy=' + order.attribute + '&sortOrder=' + order.direction;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

var divider = &;
if (url.indexOf('?') === -1) {
    divider = ?;
} 
return url + divider + 'sortBy=' + order.attribute + '&sortOrder=' + order.direction;

so the code url is only written once

@turbo-ele
Copy link
Contributor

ack

michaelzangerle pushed a commit that referenced this pull request Jan 13, 2015
[FEATURE] added sorting to user settings in lists
@michaelzangerle michaelzangerle merged commit 1931950 into develop Jan 13, 2015
@michaelzangerle michaelzangerle deleted the bugfix/default-sorting-activities branch January 13, 2015 10:26
alexander-schranz pushed a commit to alexander-schranz/sulu that referenced this pull request Nov 14, 2024
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