Changeset 7777


Ignore:
Timestamp:
Feb 18, 2020, 10:22:44 AM (22 months ago)
Author:
Nicklas Nordborg
Message:

References #2202: Include information from parent items in list pages

Display name of subtype instead of id after adding it to the selected columns.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/common/columns/add_parent_column.js

    r7773 r7777  
    160160        data.column = col.value;
    161161        data.property = '/'+data.parentType+'/'+data.subtype+'/'+data.column;
    162         data.title = col.value == '.' ? data.subtype : col.text;
     162        data.title = col.value == '.' ? frm.subtype[frm.subtype.selectedIndex].text : col.text;
    163163        Events.sendCustomEvent(window.opener.Doc.element('selectParentItemColumn'), 'base-selected', data);
    164164        numSelected++;
Note: See TracChangeset for help on using the changeset viewer.