Commit 3866aff
authored
Taxon cover images and external references (#940)
* Import cover images & external references (#838)
* feat: management command for updating fields on existing Taxa from CSV
* feat: try another title for example occurrence image
* feat: allow manual filter for showing taxa without occurrences
* feat: allow sorting by reference image for better demos
* Fields for Taxon reference images (#822)
* feat: add fields for Taxon cover images and Fieldguide ID
* feat: add cover image fields to Taxon model for the UI
* fix: look up existing taxa by name only
* fix: update existing genus parents if their rank is wrong, don't crash
* fix: don't allow empty CSV columns to clear existing data
* fix: ensure all taxa in import list are added to taxa list in DB1 parent 2d238b8 commit 3866aff
5 files changed
Lines changed: 52 additions & 4 deletions
File tree
- ami/main
- api
- migrations
- ui/src/data-services/models
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
266 | 269 | | |
267 | 270 | | |
268 | 271 | | |
| |||
582 | 585 | | |
583 | 586 | | |
584 | 587 | | |
| 588 | + | |
585 | 589 | | |
586 | 590 | | |
587 | 591 | | |
| |||
808 | 812 | | |
809 | 813 | | |
810 | 814 | | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
811 | 818 | | |
812 | 819 | | |
813 | 820 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1240 | 1240 | | |
1241 | 1241 | | |
1242 | 1242 | | |
| 1243 | + | |
1243 | 1244 | | |
1244 | 1245 | | |
1245 | 1246 | | |
| |||
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2968 | 2968 | | |
2969 | 2969 | | |
2970 | 2970 | | |
| 2971 | + | |
2971 | 2972 | | |
2972 | 2973 | | |
| 2974 | + | |
| 2975 | + | |
| 2976 | + | |
2973 | 2977 | | |
2974 | 2978 | | |
2975 | 2979 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
56 | 60 | | |
57 | | - | |
58 | | - | |
59 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
60 | 68 | | |
61 | | - | |
| 69 | + | |
| 70 | + | |
62 | 71 | | |
63 | 72 | | |
64 | 73 | | |
| |||
0 commit comments