fix: rename drupal_internal_id => drupal_id

This commit is contained in:
Lance Edgar 2026-02-13 13:29:57 -06:00
parent 81daa5d913
commit f4e4c3efb3
40 changed files with 106 additions and 154 deletions

View file

@ -62,7 +62,7 @@ class LandAssetView(WuttaFarmMasterView):
"notes",
"active",
"farmos_uuid",
"drupal_internal_id",
"drupal_id",
]
def configure_grid(self, grid):
@ -86,7 +86,7 @@ class LandAssetView(WuttaFarmMasterView):
f.set_node("land_type", LandTypeRef(self.request))
def get_farmos_url(self, land):
return self.app.get_farmos_url(f"/asset/{land.drupal_internal_id}")
return self.app.get_farmos_url(f"/asset/{land.drupal_id}")
def get_xref_buttons(self, land_asset):
buttons = super().get_xref_buttons(land_asset)