mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
WebUI: fix incorrectly shown links in association tables
Previously all columns was shown as links, that was caused by setting link attribute of each column to true. This true value was there because of possibility to turn off links in whole table on self-service pages. Now only column which is primary key is set to be shown as link. https://pagure.io/freeipa/issue/7066 Reviewed-By: Felipe Volpone <fbarreto@redhat.com>
This commit is contained in:
@@ -1103,7 +1103,7 @@ exp.association_facet = IPA.association_facet = function (spec, no_init) {
|
||||
var columns = that.columns.values;
|
||||
for (i=0; i<columns.length; i++) {
|
||||
column = columns[i];
|
||||
column.link = spec.link;
|
||||
if (column.primary_key) column.link = spec.link;
|
||||
}
|
||||
|
||||
that.init_table(that.other_entity);
|
||||
|
||||
Reference in New Issue
Block a user