# Ticket #10824 (new enhancement)

Opened 4 months ago

## Project filter not used in ICalendar export

Reported by: Assigned to: gdo@coworks.pro falkb normal SimpleMultiProjectPlugin normal 1.0

### Description

When I export the roadmap in ICalendar format (bottom button), the project filter is not used and I get all milestones...

## Change History

### (follow-ups: ↓ 2 ↓ 7 ) 01/24/13 11:12:28 changed by anonymous

• type changed from defect to enhancement.

Also should be used to export project calendar like:

RewriteEngine on
RewriteRule ([^/.]+)/roadmap/([^/.]+)/ics /$1/roadmap?user=$2&format=ics&project=myproject


### (in reply to: ↑ 1 ) 01/29/13 10:27:24 changed by falkb

Seems you know what you're talking about... what do you mean with this construction? Is it a patch already? Sorry, currently I'm in hurry... so I've just spent 1 minute to look at this ticket... maybe some more details could safe me for spending more...

### (follow-up: ↓ 4 ) 01/29/13 10:32:07 changed by anonymous

For now the link on bottom let you get the milestones calendar (gets all projects milestones). I propose to add the project variable in the url to get the calendar of only this project. Hope I'm clear enough

### (in reply to: ↑ 3 ) 01/29/13 10:45:33 changed by falkb

...I propose to add the project variable in the url...

simplemultiprojectplugin/trunk/simplemultiproject/roadmap.py#L65 inserts the project multi-choice box by searching for html source pattern '//form[@id="prefs"]/fieldset/div[1]' and then casting a stream = stream | filter.before...... spell... I suppose your proposed modification could be done in a similar way... searching for the pattern and then inject the change in the html source... I usually look at the html source of the roadmap page (which can be retrieved from your internet browser) and try to imagine what a significant pattern around that source location is... maybe could you try to patch it this way by yourself... ?

### 02/06/13 17:15:49 changed by anonymous

Did you try to patch as proposed in 4?

### 02/06/13 17:16:52 changed by anonymous

Sorry but I don't know python ;( ... I'm just a user

### (in reply to: ↑ 1 ) 03/27/13 08:23:33 changed by falkb

Also should be used to export project calendar like: {{{ RewriteEngine? on RewriteRule? ([/.]+)/roadmap/([/.]+)/ics /$1/roadmap?user=$2&format=ics&project=myproject }}}

Where did you copy this two lines from?

### 04/23/13 08:10:21 changed by falkb

• owner changed from crossroad to falkb.

### Add/Change #10824 (Project filter not used in ICalendar export)

Change Properties