As of now admin/content/relation is not really good for any administrative purposes as it's almost impossible to find the relation you're looking for. A set of form elements to filter displayed relations would make it a lot easier.

Possible filters:

  • Bundle [select]
  • Endpoints entity type [select] (at least one endpoint has to match)
  • Endpoints entity id [textfield]
  • ...something else?

Comments

uhkis’s picture

Status: Active » Needs review
StatusFileSize
new2.51 KB

This patch adds bundle filter

mikran’s picture

Status: Needs review » Needs work

Great start to actually have a form there.

From my experience it's quite common task for a site maintainer to figure out all relations that have a specific endpoint.

mikran’s picture

Here is new UI with additional fields. This patch is not functional yet tho.

new relation ui

uhkis’s picture

Status: Needs work » Needs review
StatusFileSize
new5.12 KB

This patch adds the functionality to the new UI.

mikran’s picture

StatusFileSize
new5.09 KB

The join to endpoints table duplicated all the lines. I also made a small adjustments to what is stored in session, form_state_values_clean() is now called before anything gets stored there.

mikran’s picture

Status: Needs review » Fixed

committed!

Please create issues if you got ideas how to improve this.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.