Code

Opened 9 years ago

Closed 7 years ago

#1037 closed enhancement (invalid)

ManyToMany should have support for deleting a single relation

Reported by: hugo Owned by: nobody
Component: Core (Other) Version:
Severity: normal Keywords: feature_request
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Currently you would have to get the list of relations for a ManyToMany field, remove the relation you want to delete and set the list of relations new. With large numbers of relations this can be inefficient (actually it's inefficient with smaller numbers, too, but might just not be such a problem). I think it would be a good idea to have a delete_<field> as a complementary of the existing add_<field> method.

Attachments (0)

Change History (4)

comment:1 Changed 9 years ago by hugo

  • Type changed from defect to enhancement

comment:2 Changed 7 years ago by Simon G. <dev@…>

  • Triage Stage changed from Unreviewed to Design decision needed

sounds fairly sensible to me.

comment:3 Changed 7 years ago by PhiR

  • Keywords feature_request added

comment:4 Changed 7 years ago by jacob

  • Resolution set to invalid
  • Status changed from new to closed

I *think* this no longer applies. Please reopen if so.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.