Menu

#947 (ok 4.5) Show edit/delete also when there is calculated column

Needs_decision
resolved
Normal
2015-03-24
2006-08-17
No

I don't like it when the edit and delete buttons
disappear even if I only Round() one column... I've
traced the "problem" down (to "2.3 Other statements
[...]" in display_tbl.lib.php) and found out that the
result set doesn't has the table attribute anymore in
such cases. I'm using the 4.0 branch so it might be
different in newer versions, but it might be a better
idea anyways to figure out if the images should be
displayed from the number of tables in the FROM clause
or if there is a JOIN. That would be also more
effective than cycling through all columns I suppose...

For now I'll just hack in a quick and dirty fix so an
empty table attribute will not cause the images to
disappear. But well it's dirty because it will also
display the images with a query from two or more
tables, when some function is used on all columns of
all (but one) tables.

Discussion

  • Michal Čihař

    Michal Čihař - 2006-11-02
    • summary: more generous display of edit and delete imagebuttons --> Show edit/delete also when there is calculated column
     
  • Madhura Jayaratne

    • assigned_to: Madhura Jayaratne
    • Group: --> Needs_decision
     
  • Madhura Jayaratne

    • assigned_to: Madhura Jayaratne --> nobody
     
  • Marc Delisle

    Marc Delisle - 2015-02-15
    • Priority: 5 --> Normal
     
  • Madhura Jayaratne

    • assigned_to: Madhura Jayaratne
     
  • Madhura Jayaratne

    • summary: Show edit/delete also when there is calculated column --> (ok 4.5) Show edit/delete also when there is calculated column
    • status: open --> resolved