CSV Export problem
I will try and be as explanatory as possible, I have tried to find a solution, but couldnt but when I investigated the issues its missing a key variable, explanation goes below!
I installed the latest redmine version 2.3.0, last week and am onto 2nd week of testing, going successfully and smoothly, except for one thing:
I navigated to http://MY_LOCAL_IP:8000/time_entries/
When I apply any filter, the atom exports fine with filtered results only, but export to csv returns all the results.
Since I am a programmer, but in PHP, I tried to investigate the issue and found following:
ATOM URL: time_entries.atom?c=project&c=spent_on&c=user&c=activity&c=issue&c=comments&c=hours&f=spent_on&f=user_id&f=&key=7bd4ae99e59fad79fab2557b444b0845d9d9b720&op[spent_on]=*&op[user_id]==&utf8=✓&v[user_id]=4
CSV URL: time_entries.csv?c=project&c=spent_on&c=user&c=activity&c=issue&c=comments&c=hours&f=spent_on&f=user_id&f=&op[spent_on]=*&op[user_id]==&utf8=✓&v[user_id]=4
Difference between the 2 is very minor, CSV URL is missing the KEY variable, when I added the key variable and tested, it gave me correct CSV file with filtered output.
Since I am not vey well versed with Ruby and Rails, It is difficult for me to actually go through the model/views and controller, however I am still trying myself if I come across a solution I will share it with you folks, but if there is someone out there who can point it out to me explicitly on where to make the change it will make my life alot easier.
Thanks & Regards,