orlyapps / nova-belongsto-depend

Larave Nova BelongsTo Field with Dependcy
MIT License
182 stars 65 forks source link

indexQuery issue on Resource #112

Open bhargavhauper opened 2 years ago

bhargavhauper commented 2 years ago

There are Multi Resource Same Model Connection after adding of status field in "indexQuery" like this

public static function indexQuery(NovaRequest $request, $query) { return $query->where('status', 1); }

Updated on status = 1 it will be work but after changing status 0 then it will be not working the case

Plz, give a solution for this type of error and how to solve it?

https://github.com/scops/nova-belongs-to-dependency/issues/1