|
@@ -361,6 +361,7 @@ class FileController extends Controller
|
|
|
->where('is_bim', 1)
|
|
|
->where('object_type', $file->object_type)
|
|
|
->where('object_id', $file->object_id)
|
|
|
+ ->where('folder_id', $file->folder_id)
|
|
|
->where('title', $file->title)
|
|
|
->latest('version')
|
|
|
->paginate($pageSize);
|