mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-09-25 18:03:05 +02:00
Fix edit form: is_published reset, contact decoupling, note label, author name case
- Fix #1: Add is_published to getThesisRawFields() SELECT so the publish checkbox stays checked when editing an already-published TFE. - Fix #2: Rename 'Note contextuelle' → 'Note contextuelle relative à soutenance' in all templates and StudentEmail. - Fix #3: Update findOrCreateAuthor to also UPDATE the author name when a record is found by name (fixes inability to capitalise names). - Fix #4/#5: Decouple contact_interne (private author email) from contact_visible (public contact on TFE page). Add migration 037 to add contact_visible TEXT column to theses table and rebuild v_theses_full view. Update all controllers, templates, and DB methods to treat them independently. - Fix #6: Investigated libre→interne restriction — no code barrier found; likely resolved by is_published fix.
This commit is contained in:
@@ -28,7 +28,7 @@ class StudentEmail
|
||||
'Atelier pluridisciplinaire' => $thesis['ap_program'] ?? '',
|
||||
'Finalité' => $thesis['finality_type'] ?? '',
|
||||
'Synopsis' => $thesis['synopsis'] ?? '',
|
||||
'Note contextuelle' => $thesis['context_note'] ?? '',
|
||||
'Note contextuelle relative à soutenance' => $thesis['context_note'] ?? '',
|
||||
'Langue(s)' => $thesis['languages'] ?? '',
|
||||
'Format(s)' => $thesis['formats'] ?? '',
|
||||
'Mots-clés' => $thesis['keywords'] ?? '',
|
||||
|
||||
Reference in New Issue
Block a user