Minor fixes and support for HEIC images
This commit is contained in:
@@ -39,7 +39,7 @@ class PhotoController extends Controller
|
||||
{
|
||||
return view('catalog.deletereview',[
|
||||
'return'=>url('p/deletes'),
|
||||
'catalog'=>is_null($id) ? Photo::where('remove',1)->with('software.model.make')->paginate($this->list_deletes) : Photo::where('id',$id)->paginate(1)
|
||||
'catalog'=>is_null($id) ? Photo::where('remove',1)->with(['software.model.make'])->paginate($this->list_deletes) : Photo::where('id',$id)->paginate(1)
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ class PhotoController extends Controller
|
||||
{
|
||||
return view('catalog.duplicatereview',[
|
||||
'return'=>url('p/duplicates'),
|
||||
'catalog'=>is_null($id) ? Photo::notRemove()->where('duplicate',1)->with('software.model.make')->paginate($this->list_duplicates) : Photo::where('id',$id)->paginate(1)
|
||||
'catalog'=>is_null($id) ? Photo::notRemove()->where('duplicate',1)->with(['software.model.make'])->paginate($this->list_duplicates) : Photo::where('id',$id)->paginate(1)
|
||||
]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user