Addd specific fields to store invitatin send and response times

muhleder - August 13, 2009 - 08:12
Project:RSVP
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

we're using RSVP on a project, and need to display two dates with each invitation on the admin invitations list, the date the invitation was sent, and the date the invitation was responded to. Currently the timestamp field in rsvp_invite only displays the last date that something happened to the invitation, and that can be one of

creation
invite send
invitee response

I'd propose adding two extra timestamp fields to the rsvp_invite table, time_send and time_respond so that we can store the send and response times for invitations without upsetting any current use of the existing timestamp field.

We're using views to display all the lists of invitations, so I can supply views integration to display the extra data, not sure how it would fit in with the default themed display of data. Have added the fields via a schema update on my local version. Would you be interested in a patch to add the functionality?

Also have some extra views integration to add, but I'll raise a separate issue for that.

Thanks,

Mark

#1

ulf1 - August 14, 2009 - 20:53

Hi,

patches are always welcome.

However I like to close/finish release 2.0 and then add this patch to the next release. (Which can take a while because I am currently sidelined with other things).

Thanks,
Ulf

#2

muhleder - September 8, 2009 - 09:39

Hi Ulf,

here's the patch for you to have a look at. Wanted to wait till the project was finished so we got everything we needed in there.

It's pretty basic, has some fuzz as we've made quite a lot of changes to our copy of rsvp module to get everything we needed working. I'll raise a separate issue detailing some of the changes/additions we've made, and hopefully be able to get some time from the agency to raise other individual issues for each of the changes we've made with patches.

Thanks,

Mark

AttachmentSize
rsvp-issue-547990.patch 4.26 KB
 
 

Drupal is a registered trademark of Dries Buytaert.