mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Fixed typo in name of TwoStepORMAdapter
This commit is contained in:
parent
608bd247af
commit
1b276c5eae
2 changed files with 3 additions and 3 deletions
|
@ -49,7 +49,7 @@ use Symfony\Component\OptionsResolver\OptionsResolver;
|
|||
* This way we save the overhead of the fetch join query for the count and counting, which can be very slow, cause
|
||||
* no indexes can be used.
|
||||
*/
|
||||
class TwoStepORMAdapater extends ORMAdapter
|
||||
class TwoStepORMAdapter extends ORMAdapter
|
||||
{
|
||||
private \Closure $detailQueryCallable;
|
||||
|
|
@ -23,7 +23,7 @@ declare(strict_types=1);
|
|||
namespace App\DataTables;
|
||||
|
||||
use App\DataTables\Adapters\FetchResultsAtOnceORMAdapter;
|
||||
use App\DataTables\Adapters\TwoStepORMAdapater;
|
||||
use App\DataTables\Adapters\TwoStepORMAdapter;
|
||||
use App\DataTables\Column\EnumColumn;
|
||||
use App\Doctrine\Helpers\FieldHelper;
|
||||
use App\Entity\Parts\ManufacturingStatus;
|
||||
|
@ -272,7 +272,7 @@ final class PartsDataTable implements DataTableTypeInterface
|
|||
])
|
||||
|
||||
->addOrderBy('name')
|
||||
->createAdapter(TwoStepORMAdapater::class, [
|
||||
->createAdapter(TwoStepORMAdapter::class, [
|
||||
'filter_query' => $this->getFilterQuery(...),
|
||||
'detail_query' => $this->getDetailQuery(...),
|
||||
'entity' => Part::class,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue