Announcement

Collapse
No announcement yet.

deleted tasks are not displayed - how to display them?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • deleted tasks are not displayed - how to display them?

    using http api and in module 'tasks' I call Get updated tasks:

    GET /ajax/tasks?action=updates

    there is written that: "Response with timestamp: An array with new, modified and deleted tasks. New and modified tasks are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. Deleted tasks (should the ignore parameter be ever implemented) would be identified by their object IDs as plain strings, without being part of a nested array."

    Do I undersand it correctly? What do I have to do to display deleted tasks just like in Calendar or Contacts module? Is it a bug?

  • #2
    You can't. The "ignore" parameter is deprecated and will not be implemented.

    What do you mean by "display deleted tasks just like in Calendar or Contacts module"? AFAIK, you can't list deleted appointments or contacts either.

    Comment


    • #3
      But I do: I use /ajax/calendar?action=updates and I get response like this with deleted appointments:
      {
      "timestamp": 1385719484922,
      "data": [
      [
      109,
      1385719484922,
      "rekoleko",
      1385769600000,
      1385856000000,
      null,
      "wro",
      true,
      1385719484000
      ],
      74,
      75,
      76,
      77,
      78,
      86,
      87,
      88,
      89,
      94,
      97,
      98,
      99,
      100,
      101,
      102,
      103,
      104,
      105,
      106,
      107,
      108
      ]
      }

      And I would like to receive the same with tasks, Is it possible to turn it back?

      Comment

      Working...
      X