I'm not sure this is the best approach, but I think that the forms listed at admin/reports/payements should link to the form (if possible), rather than just displaying the title of the form.

This patch switches the default view to using the form_link handler instead of the form handler, but upon further thought I realized that this patch isn't the right approach because we still want the form title if if it can't be linked to. This approach won't display anything if there isn't a menu_path.

Comments

quicksketch’s picture

Status: Needs work » Needs review
StatusFileSize
new3.24 KB

Here we are, a much better patch. This takes cues from Node module's "Link this field to node" and provides a very similar "Link this field to form" option, though it requires a new views handler instead of using the generic views_handler_field, I think it's a worthwhile change. Note that this pretty much makes the pay_handler_field_pay_form_link handler unnecessary, but I'll leave that to you guys if you think it's worth keeping.