Skip to content

Commit bb681f2

Browse files
committed
id column from config
1 parent 4181257 commit bb681f2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

internal/data/catalog_db_fun.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import (
2626
)
2727

2828
// FunctionIDColumnName is the name for a function-supplied ID
29-
const FunctionIDColumnName = "id"
3029

3130
const SchemaPostGISFTW = "postgisftw"
3231

internal/service/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ func writeFunItemsHTML(w http.ResponseWriter, name string, query string, urlBase
636636
context.Group = "Functions"
637637
context.Title = fn.ID
638638
context.Function = fn
639-
context.IDColumn = data.FunctionIDColumnName
639+
context.IDColumn = conf.Configuration.Database.IdColumn
640640

641641
// features are not needed for items page (page queries for them)
642642
return writeHTML(w, nil, context, ui.PageFunctionItems())

0 commit comments

Comments
 (0)