aliasing for accounting, where accounting real column names are the same as others, which is 0..n as opposed to previously real names and hardcoded search via those. Now we are using a look up table for the numbers mapping to look em up

This commit is contained in:
Priec
2026-08-13 13:41:07 +02:00
parent 774c9a3ce0
commit 27d3e9af34
11 changed files with 444 additions and 10 deletions

View File

@@ -246,6 +246,10 @@ pub(crate) async fn add_columns(
table_name: inputs.selection.table.clone(),
columns: proto_columns(&inputs.columns.added),
indexes: inputs.columns.selected_index_names(),
// The append panel names its columns itself; the only generated ones it
// can produce are the phone and IBAN companions, which it does not
// offer to rename. The table's own rename form is where that is done.
generated_aliases: Vec::new(),
};
let Ok(request) = authenticated_request(&headers, request) else {
return Redirect::to("/login").into_response();