diff options
| -rw-r--r-- | CHANGES.md | 4 | ||||
| -rw-r--r-- | archaeological_finds/models_treatments.py | 4 | 
2 files changed, 7 insertions, 1 deletions
diff --git a/CHANGES.md b/CHANGES.md index acddcd405..78b175631 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,9 +9,11 @@ Ishtar changelog  ### Features/improvements ###  - add custom cached_label configuration for each main item  - sheet document: better UI for files +- add "created" field on main items in order to facilitate queries  ### Bug fixes ### -- Find form: remove TAQ/TPQ check  +- find form: remove TAQ/TPQ check +- fix treatment and file treatment sheet display (bad QR code link)  v4.0.42 - 2023-01-25  -------------------- diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py index 509d67f70..88f267a9b 100644 --- a/archaeological_finds/models_treatments.py +++ b/archaeological_finds/models_treatments.py @@ -95,6 +95,8 @@ class Treatment(      ShortMenuItem,  ):      SLUG = "treatment" +    APP = "archaeological-finds" +    MODEL = SLUG      SHOW_URL = "show-treatment"      TABLE_COLS = (          "year", @@ -1015,6 +1017,8 @@ class TreatmentFile(      ShortMenuItem,  ):      SLUG = "treatmentfile" +    APP = "archaeological-finds" +    MODEL = SLUG      SHOW_URL = "show-treatmentfile"      DELETE_URL = "delete-treatmentfile"      TABLE_COLS = ["type", "year", "index", "internal_reference", "name"]  | 
