Algo-Web / POData-Laravel

Composer Package to provide Odata functionality to Laravel
MIT License
34 stars 29 forks source link

$count with applied $filter not working #193

Closed drkmtrx closed 4 years ago

drkmtrx commented 4 years ago

When I call Persons/$count?$filter=name eq 'simon' I get a <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <code>500</code> <message> Call to undefined method Illuminate\Database\Query\Builder::with() </message> </error>

CyberiaResurrection commented 4 years ago

@bgoak , thanks for breaking this out as a separate issue - makes it easier to keep track of.

c-harris commented 4 years ago

@bgoak just to let you know we are working on improving the unit tests to resolve a lot of these issues

CyberiaResurrection commented 4 years ago

@bgoak , can you grab #195 and see if this fixes your problem?

drkmtrx commented 4 years ago

I can confirm that #195 fixed this issue. Thank you.

CyberiaResurrection commented 4 years ago

Closing since @bgoak has confirmed fix.