Issue on childCount not correct in search query
Nicolas Carvajal Chaves
0
Reputation points
Describe the bug
When trying to search for a folder inside of an item in the OneDrive api, the folder -> childCount is always set to zero. But when the folder is accessed directly, the childCount is displayed correctly.
To Reproduce
- Make the following request in a folder with child folders which you know have childs:
GET https://graph.microsoft.com/v1.0/me/drive/items/{{folder_id}}/search(q='{search_term}') - See that the folder -> childCount property is set to 0 and copy the id of that folder
- Make the following request with the previous id:
GET https://graph.microsoft.com/v1.0/me/drive/items/{{previous_folder_id}} - folder -> childCount property is not 0
Expected behavior
The childCounts should be consistent
Screenshots
[
[
Notice that the folder with id '01RASYKTIE76MUOKLKWBA32BC77ZCMFK5G' has a childCount which is different in the 2 images.
Desktop (please complete the following information):
- OS: MacOS
- Browser Arc
- Version 1.13.1 (42579)