forward to referrer after comment delete
|Reported by:||mrclay||Owned by:||mrclay|
What would be the harm in forwarding to REFERER instead of $entity->getURL()?
E.g. A person commenting while viewing page 3 of paginated comments should not be pushed back to the 1st.
Also I have a situation where a comment form needs to be on a different page than the underlying entity. I have Document objects which are represented by multiple Revision objects, which hold all comments. On the Document page I show comments for the latest revision, but leaving a comment always forwards to the Revision URL, which is confusing.
Change History (9)
comment:1 Changed 13 months ago by mrclay
- Summary changed from forward to referrer after comment add/delete to forward to referrer after comment delete
comment:4 Changed 12 months ago by mrclay
- Owner set to mrclay
- Status changed from new to assigned
- Type changed from Feature Request to Enhancement
comment:6 Changed 12 months ago by Steve Clay
- Resolution set to fixed
- Status changed from assigned to closed