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
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
CHANGELOG-v3.1.6.md
Normal file → Executable file
0
CHANGELOG-v3.1.6.md
Normal file → Executable file
0
Capture.png
Normal file → Executable file
0
Capture.png
Normal file → Executable file
|
Before Width: | Height: | Size: 255 KiB After Width: | Height: | Size: 255 KiB |
0
HOWTO-PROKOV.md
Normal file → Executable file
0
HOWTO-PROKOV.md
Normal file → Executable file
0
MONITORING.md
Normal file → Executable file
0
MONITORING.md
Normal file → Executable file
0
PLANNING-STRIPE-ADMIN.md
Normal file → Executable file
0
PLANNING-STRIPE-ADMIN.md
Normal file → Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
__MACOSX/geo-app-20251014/ios/Pods/._Pods.xcodeproj
generated
BIN
__MACOSX/geo-app-20251014/ios/Pods/._Pods.xcodeproj
generated
Binary file not shown.
0
api/TODO-API.md
Normal file → Executable file
0
api/TODO-API.md
Normal file → Executable file
0
api/alter_table_geometry.sql
Normal file → Executable file
0
api/alter_table_geometry.sql
Normal file → Executable file
0
api/config/nginx/pra-geo-http-only.conf
Normal file → Executable file
0
api/config/nginx/pra-geo-http-only.conf
Normal file → Executable file
0
api/config/nginx/pra-geo-production.conf
Normal file → Executable file
0
api/config/nginx/pra-geo-production.conf
Normal file → Executable file
0
api/config/whitelist_ip_cache.txt
Normal file → Executable file
0
api/config/whitelist_ip_cache.txt
Normal file → Executable file
0
api/create_table_x_departements_contours.sql
Normal file → Executable file
0
api/create_table_x_departements_contours.sql
Normal file → Executable file
0
api/data/README.md
Normal file → Executable file
0
api/data/README.md
Normal file → Executable file
0
api/docs/API-SECURITY.md
Normal file → Executable file
0
api/docs/API-SECURITY.md
Normal file → Executable file
0
api/docs/CHAT_MODULE.md
Normal file → Executable file
0
api/docs/CHAT_MODULE.md
Normal file → Executable file
0
api/docs/CHK_USER_DELETE_PASS_INFO.md
Normal file → Executable file
0
api/docs/CHK_USER_DELETE_PASS_INFO.md
Normal file → Executable file
0
api/docs/DELETE_PASSAGE_PERMISSIONS.md
Normal file → Executable file
0
api/docs/DELETE_PASSAGE_PERMISSIONS.md
Normal file → Executable file
0
api/docs/EVENTS-LOG.md
Normal file → Executable file
0
api/docs/EVENTS-LOG.md
Normal file → Executable file
0
api/docs/FIX_USER_CREATION_400_ERRORS.md
Normal file → Executable file
0
api/docs/FIX_USER_CREATION_400_ERRORS.md
Normal file → Executable file
0
api/docs/GESTION-SECTORS.md
Normal file → Executable file
0
api/docs/GESTION-SECTORS.md
Normal file → Executable file
0
api/docs/INSTALL_FPDF.md
Normal file → Executable file
0
api/docs/INSTALL_FPDF.md
Normal file → Executable file
0
api/docs/PLANNING-STRIPE-API.md
Normal file → Executable file
0
api/docs/PLANNING-STRIPE-API.md
Normal file → Executable file
0
api/docs/PREPA_PROD.md
Normal file → Executable file
0
api/docs/PREPA_PROD.md
Normal file → Executable file
0
api/docs/SETUP_EMAIL_QUEUE_CRON.md
Normal file → Executable file
0
api/docs/SETUP_EMAIL_QUEUE_CRON.md
Normal file → Executable file
0
api/docs/STRIPE-BACKEND-MIGRATION.md
Normal file → Executable file
0
api/docs/STRIPE-BACKEND-MIGRATION.md
Normal file → Executable file
0
api/docs/STRIPE-TAP-TO-PAY-FLOW.md
Normal file → Executable file
0
api/docs/STRIPE-TAP-TO-PAY-FLOW.md
Normal file → Executable file
0
api/docs/STRIPE-TAP-TO-PAY-REQUIREMENTS.md
Normal file → Executable file
0
api/docs/STRIPE-TAP-TO-PAY-REQUIREMENTS.md
Normal file → Executable file
0
api/docs/STRIPE_VERIF.md
Normal file → Executable file
0
api/docs/STRIPE_VERIF.md
Normal file → Executable file
0
api/docs/UPLOAD-MIGRATION-RECAP.md
Normal file → Executable file
0
api/docs/UPLOAD-MIGRATION-RECAP.md
Normal file → Executable file
0
api/docs/UPLOAD-REORGANIZATION.md
Normal file → Executable file
0
api/docs/UPLOAD-REORGANIZATION.md
Normal file → Executable file
0
api/docs/USERNAME_VALIDATION_CHANGES.md
Normal file → Executable file
0
api/docs/USERNAME_VALIDATION_CHANGES.md
Normal file → Executable file
0
api/docs/_logo_recu.png
Normal file → Executable file
0
api/docs/_logo_recu.png
Normal file → Executable file
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 99 KiB |
0
api/docs/_recu_template.pdf
Normal file → Executable file
0
api/docs/_recu_template.pdf
Normal file → Executable file
0
api/docs/contour-des-departements.geojson
Normal file → Executable file
0
api/docs/contour-des-departements.geojson
Normal file → Executable file
0
api/docs/create_table_user_devices.sql
Normal file → Executable file
0
api/docs/create_table_user_devices.sql
Normal file → Executable file
0
api/docs/departements_limitrophes.md
Normal file → Executable file
0
api/docs/departements_limitrophes.md
Normal file → Executable file
0
api/docs/logrotate_email_queue.conf
Normal file → Executable file
0
api/docs/logrotate_email_queue.conf
Normal file → Executable file
0
api/docs/nouvelles-routes-session-refresh.txt
Normal file → Executable file
0
api/docs/nouvelles-routes-session-refresh.txt
Normal file → Executable file
0
api/docs/recu_13718.pdf
Normal file → Executable file
0
api/docs/recu_13718.pdf
Normal file → Executable file
0
api/docs/recu_19500582.pdf
Normal file → Executable file
0
api/docs/recu_19500582.pdf
Normal file → Executable file
0
api/docs/recu_19500586.pdf
Normal file → Executable file
0
api/docs/recu_19500586.pdf
Normal file → Executable file
0
api/docs/recu_537254062.pdf
Normal file → Executable file
0
api/docs/recu_537254062.pdf
Normal file → Executable file
0
api/docs/recu_972506460.pdf
Normal file → Executable file
0
api/docs/recu_972506460.pdf
Normal file → Executable file
0
api/docs/traite_batiments.sql
Normal file → Executable file
0
api/docs/traite_batiments.sql
Normal file → Executable file
0
api/docs/x_departements_contours.sql
Normal file → Executable file
0
api/docs/x_departements_contours.sql
Normal file → Executable file
0
api/docs/x_departements_contours_corrected.sql
Normal file → Executable file
0
api/docs/x_departements_contours_corrected.sql
Normal file → Executable file
0
api/docs/x_departements_contours_fixed.sql
Normal file → Executable file
0
api/docs/x_departements_contours_fixed.sql
Normal file → Executable file
0
api/migration_add_departements_contours.sql
Normal file → Executable file
0
api/migration_add_departements_contours.sql
Normal file → Executable file
0
api/migration_add_sectors_adresses.sql
Normal file → Executable file
0
api/migration_add_sectors_adresses.sql
Normal file → Executable file
0
api/migrations/add_dept_limitrophes.sql
Normal file → Executable file
0
api/migrations/add_dept_limitrophes.sql
Normal file → Executable file
0
api/migrations/integrate_contours_to_departements.sql
Normal file → Executable file
0
api/migrations/integrate_contours_to_departements.sql
Normal file → Executable file
0
api/migrations/update_all_dept_limitrophes.sql
Normal file → Executable file
0
api/migrations/update_all_dept_limitrophes.sql
Normal file → Executable file
1
api/ralph
Submodule
1
api/ralph
Submodule
Submodule api/ralph added at 098579b5a1
0
api/scripts/CORRECTIONS_MIGRATE.md
Normal file → Executable file
0
api/scripts/CORRECTIONS_MIGRATE.md
Normal file → Executable file
0
api/scripts/MIGRATION_PATCH_INSTRUCTIONS.md
Normal file → Executable file
0
api/scripts/MIGRATION_PATCH_INSTRUCTIONS.md
Normal file → Executable file
0
api/scripts/README-migration.md
Normal file → Executable file
0
api/scripts/README-migration.md
Normal file → Executable file
0
api/scripts/check_geometry_validity.sql
Normal file → Executable file
0
api/scripts/check_geometry_validity.sql
Normal file → Executable file
0
api/scripts/config/update_php_fpm_settings.sh
Normal file → Executable file
0
api/scripts/config/update_php_fpm_settings.sh
Normal file → Executable file
0
api/scripts/create_addresses_users.sql
Normal file → Executable file
0
api/scripts/create_addresses_users.sql
Normal file → Executable file
0
api/scripts/create_addresses_users_by_env.sql
Normal file → Executable file
0
api/scripts/create_addresses_users_by_env.sql
Normal file → Executable file
0
api/scripts/cron/CRON.md
Normal file → Executable file
0
api/scripts/cron/CRON.md
Normal file → Executable file
0
api/scripts/cron/cleanup_security_data.php
Normal file → Executable file
0
api/scripts/cron/cleanup_security_data.php
Normal file → Executable file
0
api/scripts/cron/process_email_queue_with_daily_log.sh
Normal file → Executable file
0
api/scripts/cron/process_email_queue_with_daily_log.sh
Normal file → Executable file
0
api/scripts/cron/rotate_event_logs.php
Normal file → Executable file
0
api/scripts/cron/rotate_event_logs.php
Normal file → Executable file
0
api/scripts/fix_geometry_for_spatial_index.sql
Normal file → Executable file
0
api/scripts/fix_geometry_for_spatial_index.sql
Normal file → Executable file
0
api/scripts/import_departements_from_file.php
Normal file → Executable file
0
api/scripts/import_departements_from_file.php
Normal file → Executable file
0
api/scripts/import_department_boundaries.php
Normal file → Executable file
0
api/scripts/import_department_boundaries.php
Normal file → Executable file
0
api/scripts/init_departements_contours.php
Normal file → Executable file
0
api/scripts/init_departements_contours.php
Normal file → Executable file
0
api/scripts/migrate_uploads_structure.php
Normal file → Executable file
0
api/scripts/migrate_uploads_structure.php
Normal file → Executable file
0
api/scripts/migration2/README.md
Normal file → Executable file
0
api/scripts/migration2/README.md
Normal file → Executable file
0
api/scripts/migration2/geo_app_structure.sql
Normal file → Executable file
0
api/scripts/migration2/geo_app_structure.sql
Normal file → Executable file
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user