Added an extra condition to isLoopbackInclude() to ensure it only returns true if the user passes in an include filter. This should fix an issue where requests along the lines of GET /posts?filter[where][id]=123&include=comments are ignoring the include parameter when there is also a filter param.
Coverage remained the same at 94.554% when pulling e8cfe4d5e1ee59ac2a35f21bffa3bda7a0366eee on chris-bloomfield:master into 40f928273fe50acfebb11cbaf2e0469f0d56efea on digitalsadhu:master.
Added an extra condition to
isLoopbackInclude()
to ensure it only returns true if the user passes in an include filter. This should fix an issue where requests along the lines ofGET /posts?filter[where][id]=123&include=comments
are ignoring the include parameter when there is also a filter param.