lambdabaa / dav

WebDAV, CalDAV, and CardDAV client for nodejs and the browser.
Mozilla Public License 2.0
304 stars 71 forks source link

allow filters to have values #121

Closed tknobi closed 7 years ago

tknobi commented 7 years ago

get filters like this working:

{
  type: 'prop-filter',
  attrs: { name: 'UID' },
  children: [{
    type: 'text-match',
    value: _id,
  }],
},
lambdabaa commented 7 years ago

Thanks!

Pujan789556 commented 5 years ago

Adding this filter return all the events. Not Working !!


filters: [{
        type: 'comp-filter',
        attrs: { name: 'VCALENDAR' },
        children: [{
          type: 'comp-filter',
          attrs: { name: 'VEVENT' },
          children: [ {
            type: 'prop-filter',
            attrs: { name: 'UID' },
            children: [{
              type: 'text-match',
              value: '5583e1ce2ec54340aba2c39480ce2c34',
            }],
          }]
        }]
      }]```