Skip to content

Commit

Permalink
change chB00000 to %change%
Browse files Browse the repository at this point in the history
  • Loading branch information
signedav committed Nov 24, 2023
1 parent e4816fc commit 523c0f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions QgisModelBaker/gui/panel/basket_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def load_basket_config(self, db_connector, dataset):
if basket_setting["bid_domain"] == "INTERLIS.UUIDOID":
basket_setting["bid_value"] = str(uuid.uuid4())
elif basket_setting["bid_domain"] == "INTERLIS.STANDARDOID":
basket_setting["bid_value"] = "chB00000{t_id}"
basket_setting["bid_value"] = "%change%{t_id}"
elif basket_setting["bid_domain"] == "INTERLIS.I32OID":
basket_setting["bid_value"] = "{t_id}"
else:
Expand Down Expand Up @@ -220,7 +220,7 @@ def save_basket_config(self, db_connector, dataset):
dataset_tid,
topic_key,
basket_setting["bid_value"].format(
t_id=self._next_tid_value(db_connector)
t_id=f"{self._next_tid_value(db_connector):08}"
),
)
feedbacks.append((status, message))
Expand Down

0 comments on commit 523c0f9

Please sign in to comment.