Changes for page RealtimeLivetable

Last modified by Vincent Massol on 2024/02/26 17:54

<
From version < 78.1 >
edited by Marius Dumitru Florea
on 2020/05/29 15:25
To version < 79.1 >
edited by Marius Dumitru Florea
on 2020/06/08 07:50
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -415,9 +415,9 @@
415 415  
416 416   query: {
417 417   // The list of properties to fetch.
418 - select: ['title', 'year', ...],
418 + properties: ['title', 'year', ...],
419 419  
420 - from: {
420 + source: {
421 421   // This is used to compute the name of the RequireJS module that will be used to get the data. If not specified, a
422 422   // default source is used.
423 423   id: '...',
... ... @@ -427,13 +427,23 @@
427 427   },
428 428  
429 429   // The constraints to apply on the property values. These are hidden constraints that the user cannot change.
430 - where: {
430 + hiddenFilters: {
431 431   year: ['...', ...],
432 432   ...
433 433   },
434 434  
435 + // The visible filter values that the user can change. The filters are prefilled with these values. When fetching
436 + // the data this is merged with the hidden filters (see above).
437 + filters: {
438 + year: ['...', ...],
439 + ...
440 + },
441 +
435 435   // The list of properties to sort on. The sort order can be optionally specified.
436 - orderBy: ['birthdate:desc'],
443 + sort: [{
444 + property: 'birthdate',
445 + descending: false
446 + }, ...],
437 437  
438 438   // Indicates where the current page starts.
439 439   offset: 0,
... ... @@ -530,13 +530,6 @@
530 530   ...
531 531   ],
532 532  
533 - // The visible filter values that the user can change. The filters are prefilled with these values. When fetching
534 - // the data this is merged with the where "clause" of the query (see above).
535 - filterValues: {
536 - year: ['...', ...],
537 - ...
538 - },
539 -
540 540   // The list of known property displayers to choose from when editing the property descriptor.
541 541   displayers: [
542 542   {id: 'text', ...},

Get Connected