diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-01-30 17:41:18 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-01-30 17:41:18 +0100 |
commit | 83c180d6b6faa09db5112d4b5cecafc4caa61881 (patch) | |
tree | a51e52ac398b8303e7e99309b232ec49e104d1bd | |
parent | 7a445debd9237c750b6a1b7d899eb9c384edb6ab (diff) | |
download | Ishtar-83c180d6b6faa09db5112d4b5cecafc4caa61881.tar.bz2 Ishtar-83c180d6b6faa09db5112d4b5cecafc4caa61881.zip |
Fix treatment and file treatment sheet display (bad QR code link)
-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"] |