Project

General

Profile

Actions

Bug #3108

closed

Duplicate titles of fields not displaying in userlist backend

Added by krileon over 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
21 December 2011
Due date:
% Done:

100%

Estimated time:
2:00 h

Description

When you have 2 fields with the same title only 1 of them will display in Userlist backend for adding to columns. For example a text field called Text (cb_text1) and Text (cb_text2) only 1 of them will display.

https://www.joomlapolis.com/forum/154-advanced-members-support/185885-cb-fields-with-duplicate-titles


Files

3108-pt1.patch (836 Bytes) 3108-pt1.patch krileon, 02 February 2012 17:06
3108-pt2.patch (3.47 KB) 3108-pt2.patch krileon, 02 February 2012 17:06

Updated by krileon about 12 years ago

The fields array was using title as the key, which isn't unique. Swapped it so the field id is the key which is unique then fixed the usage of the fields array.

Actions #2

Updated by krileon about 12 years ago

  • Status changed from New to Resolved
  • Assignee set to beat
  • % Done changed from 0 to 100
Actions #3

Updated by beat about 12 years ago

  • Target version set to CB 1.8
Actions #4

Updated by beat about 12 years ago

  • Status changed from Resolved to Closed
  • Estimated time set to 2:00 h

commit r1724 fixes it exactly as suggested. Thank you Kyle.

Actions

Also available in: Atom PDF