Fixed the issue in Requests Table

Function 'getReqbyId' returned an object, hence any query from the
search bar is redirected to the home controller. Fixed it by duplicating
the function and naming one of them 'getReqbyIdSearch'.