Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291161

Fix views rest export plugin render values and add option to output raw values

$
0
0

Currently we have a conditional in the Style plugin that checks the field alias, and only displays the rendered field value if it's a unknown alias. This is a bit backwards, we can simplfy this logic by ALWAYS calling render() on the field value but add an option to the row options (to go with the alias option) to output the raw values. This can then be checked when render time comes around, and the raw/rendered output will depend on this and not if the alias is unknown or not.

This patch also creates a table for the row plugin options instead, imo this is much better. I have also added some more tests for this.

I'm looking for feedback on what we need to label these are for the table etc... as well as reviews obviously :)

AttachmentSizeStatusTest resultOperations
vdc-serializer-row-options.patch13.47 KBIdleFAILED: [[SimpleTest]]: [MySQL] 47,345 pass(es), 111 fail(s), and 122 exception(s).View details | Re-test
vdc-serializer-row-options.png16.33 KBIgnoredNoneNone

Viewing all articles
Browse latest Browse all 291161

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>