Author Topic: Unchecking "Sub.Ws" Checkbox in ical subscribe does nothing  (Read 2041 times)

negg

  • Newbie
  • *
  • Posts: 18
    • View Profile
Unchecking "Sub.Ws" Checkbox in ical subscribe does nothing
« on: September 02, 2009, 05:41:51 am »
I have a workspace with numerous subworkspaces with their own calendar entries. I only want to import events in the main workspace, so I unticked "SubWs" besides the ical subscribe button. The URL changes from "...isw=1" to "...isw=0" which I believe is the parameter for subworkspace integration.

But that does nothing. The ics files delivered are exactly the same. Did I get something wrong here?

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: Unchecking "Sub.Ws" Checkbox in ical subscribe does nothing
« Reply #1 on: September 02, 2009, 12:41:45 pm »
Hi,

this bug is fixed for next release,
if you want to fix it in your installation you have to replace line 165 of /application/controllers/FeedController.class.php with these lines:
Code: [Select]
if ($inc_sub)
$pids = Projects::findById($cal)->getAllSubWorkspacesQuery(true, $user);
else $pids = $cal;

regards

negg

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Unchecking "Sub.Ws" Checkbox in ical subscribe does nothing
« Reply #2 on: September 02, 2009, 01:29:13 pm »
Hi,

this bug is fixed for next release,
if you want to fix it in your installation you have to replace line 165 of /application/controllers/FeedController.class.php with these lines:

Thanks, that worked fine. Looking forward to the next version, the changelog must be huuuuuge :-)