We have a mobile app(Not Salesforce1) where the data is pulled from Salesforce using REST API.
The basic functionality of the app is to return GranChild records when any Search Term is entered in the Search box. If any of the search term matches with the child record of child record(Grandchild of Logged in User), then it should return the record. It used to work fine till last week.
Since then, when we search for any user by inputting any search term, it is retruning only child records but not grandchild records.
It was designed back in 2016 and the code related to this was untouched. When we tried to debug the queries in debug log, we found that there are around 200 records with the search name given but in Postman or Mobile App, we are recieving only 1 record.
As the code is unchanged or untouched, is there anything to do with API version as the API version of REST API class in production is 29. Is it due to this version, are we getting limited results?
As this is related to production, user are getting frustrated due to limited functionality. Can anyone please guide me where did it went wrong?