Skip to content

Commit

Permalink
Add singleevents=true also for updates mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
sugi committed Aug 12, 2014
1 parent 0c45c13 commit e41f98d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.gcal_flow.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class gCalFlow
if @opts.feed_url
@opts.feed_url
else if @opts.mode == 'updates'
"https://www.google.com/calendar/feeds/#{@opts.calid}/public/full?alt=json-in-script&max-results=#{@opts.maxitem}&orderby=lastmodified&sortorder=descending&futureevents=true"
"https://www.google.com/calendar/feeds/#{@opts.calid}/public/full?alt=json-in-script&max-results=#{@opts.maxitem}&orderby=lastmodified&sortorder=descending&futureevents=true&singleevents=true"
else
"https://www.google.com/calendar/feeds/#{@opts.calid}/public/full?alt=json-in-script&max-results=#{@opts.maxitem}&orderby=starttime&futureevents=true&sortorder=ascending&singleevents=true"

Expand Down

0 comments on commit e41f98d

Please sign in to comment.