Commit 234abb9
committed
fix(bulk-import): lookup custom object via slug
custom objects are indexed via the view's url, which is derived from the
custom object's slug. the existing bulk import form looked up the custom
object by name though, rather than slug. this commit fixes that bad
lookup field. the bulk import and bulk delete forms already do this.
additionally, we add a slug uniqueness constraint on the custom object
type for additional safeguarding1 parent eba2c7f commit 234abb9
2 files changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
212 | 219 | | |
213 | 220 | | |
214 | 221 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
733 | 733 | | |
734 | 734 | | |
735 | 735 | | |
736 | | - | |
| 736 | + | |
737 | 737 | | |
738 | 738 | | |
739 | 739 | | |
| |||
0 commit comments