#988 Chart : Items shows up in all charts

v1.7.3
closed-accepted
5
2004-05-13
2003-10-29
Surukai Berg
No

When adding new charts in the chart list everything
looks fine. Charts also know what items that belonges
to it.

But, when you click to view each chart or votes all
items will be shown in all charts (not just the items
that belongs to the chart).

Tested on Apache 1 and 2, Unix and on Windows server.
Hav php4.3.

Discussion

  • Logged In: YES
    user_id=738765

    Thank you, I get this too, I reported to ChartsDev.

     
    • summary: Chart Items shows up in wrong charts --> Chart : Items shows up in all charts
    • status: open --> open-accepted
     
    • assigned_to: nobody --> patvdv
     
    • status: open-accepted --> closed-accepted
     
  • Logged In: YES
    user_id=678498

    Fixed by adding a WHERE clause in lib/charts/chartlib.php

     
  • Logged In: YES
    user_id=738765

    Thanks patdvd. FYI, the 1.8 commits are all merged to HEAD
    regularly now, so also committing to HEAD is actually unadvised.
    Some also prefer shorter CVS log messages :-P
    Thank you again.