We are missing order_product_id field from views. Patch to follow.

CommentFileSizeAuthor
#1 850236-add_order_product_id.patch796 bytessammys

Comments

sammys’s picture

Status: Active » Needs review
StatusFileSize
new796 bytes

Here's the patch.

wizonesolutions’s picture

Oh, I just wrote a patch for this too, but I guess there's already an issue out.

In that case...the infamous...+1 subscribe!

longwave’s picture

Status: Needs review » Reviewed & tested by the community

Works for me.

longwave’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS, thanks for the patch!

Status: Fixed » Closed (fixed)

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

splash112’s picture

Status: Closed (fixed) » Active

Opening up again,

Could we add, for completeness sake:

    'argument' => array(
      'handler' => 'views_handler_argument_numeric',
      'name field' => 'title',
      'numeric' => TRUE,
      'validate type' => 'order_product_id',
    ),

So the order_product_id can be an argument (using a views_pdf to make a label for a product_order and found I cannot get the argument).

Thx
Mark

longwave’s picture

Category: bug » feature
Status: Active » Fixed

Committed #6.

Status: Fixed » Closed (fixed)

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