fix: Récupérer l'opération active depuis la table operations
- Corrige l'erreur SQL 'Unknown column fk_operation in users' - L'opération active est récupérée depuis operations.chk_active = 1 - Jointure avec users pour filtrer par entité de l'admin créateur - Query: SELECT o.id FROM operations o INNER JOIN users u ON u.fk_entite = o.fk_entite WHERE u.id = ? AND o.chk_active = 1
This commit is contained in:
0
api/vendor/psr/http-factory/LICENSE
vendored
Normal file → Executable file
0
api/vendor/psr/http-factory/LICENSE
vendored
Normal file → Executable file
0
api/vendor/psr/http-factory/README.md
vendored
Normal file → Executable file
0
api/vendor/psr/http-factory/README.md
vendored
Normal file → Executable file
0
api/vendor/psr/http-factory/composer.json
vendored
Normal file → Executable file
0
api/vendor/psr/http-factory/composer.json
vendored
Normal file → Executable file
0
api/vendor/psr/http-factory/src/RequestFactoryInterface.php
vendored
Normal file → Executable file
0
api/vendor/psr/http-factory/src/RequestFactoryInterface.php
vendored
Normal file → Executable file
0
api/vendor/psr/http-factory/src/ResponseFactoryInterface.php
vendored
Normal file → Executable file
0
api/vendor/psr/http-factory/src/ResponseFactoryInterface.php
vendored
Normal file → Executable file
0
api/vendor/psr/http-factory/src/ServerRequestFactoryInterface.php
vendored
Normal file → Executable file
0
api/vendor/psr/http-factory/src/ServerRequestFactoryInterface.php
vendored
Normal file → Executable file
0
api/vendor/psr/http-factory/src/StreamFactoryInterface.php
vendored
Normal file → Executable file
0
api/vendor/psr/http-factory/src/StreamFactoryInterface.php
vendored
Normal file → Executable file
0
api/vendor/psr/http-factory/src/UploadedFileFactoryInterface.php
vendored
Normal file → Executable file
0
api/vendor/psr/http-factory/src/UploadedFileFactoryInterface.php
vendored
Normal file → Executable file
0
api/vendor/psr/http-factory/src/UriFactoryInterface.php
vendored
Normal file → Executable file
0
api/vendor/psr/http-factory/src/UriFactoryInterface.php
vendored
Normal file → Executable file
Reference in New Issue
Block a user