mirror of
https://github.com/wekan/wekan.git
synced 2026-01-03 08:08:49 +01:00
Fix sort operator
* Add server publications for next and previous page * Add ability to sort ascending or descending
This commit is contained in:
parent
250e79f53c
commit
43f40c4085
5 changed files with 239 additions and 174 deletions
|
|
@ -62,6 +62,12 @@ SessionData.attachSchema(
|
|||
optional: true,
|
||||
blackbox: true,
|
||||
},
|
||||
projection: {
|
||||
type: String,
|
||||
optional: true,
|
||||
blackbox: true,
|
||||
defaultValue: {},
|
||||
},
|
||||
errorMessages: {
|
||||
type: [String],
|
||||
optional: true,
|
||||
|
|
@ -130,6 +136,9 @@ SessionData.helpers({
|
|||
getSelector() {
|
||||
return SessionData.unpickle(this.selector);
|
||||
},
|
||||
getProjection() {
|
||||
return SessionData.unpickle(this.projection);
|
||||
},
|
||||
});
|
||||
|
||||
SessionData.unpickle = pickle => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue