Calendar: Circle not found when full name is given

Created on 30 Apr 2020  路  3Comments  路  Source: nextcloud/calendar

A circle named Test is not shown when you type test, but shows up when you only type tes. This is because the api returns exact matches in results.data.ocs.data.exact.circles and not in results.data.ocs.data.circles, so exact matches are not considered by the Calendar app.

I fixed this for the circle sharing implementation of Tasks in https://github.com/nextcloud/tasks/pull/995. When this PR is merged I would send a PR for Calendar. So it would be nice, if you could have a look 馃槈

0. to triage bug

Most helpful comment

Is that an indended behaviour from the OCS API? Exact matches not being returned in results.data.ocs.data.circles as well?

I don't know if it is the best/intended behaviour, but in the files app the OCS API behaves the same and it doesn't create trouble there. So I think we should adjust to the current behaviour.

All 3 comments

Is that an indended behaviour from the OCS API? Exact matches not being returned in results.data.ocs.data.circles as well?

Is that an indended behaviour from the OCS API? Exact matches not being returned in results.data.ocs.data.circles as well?

I don't know if it is the best/intended behaviour, but in the files app the OCS API behaves the same and it doesn't create trouble there. So I think we should adjust to the current behaviour.

PR is in #2233.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

georgehrke picture georgehrke  路  4Comments

deanforrest picture deanforrest  路  4Comments

scorewinner picture scorewinner  路  3Comments

ml94 picture ml94  路  3Comments

GLLM picture GLLM  路  4Comments