Characters like the ampersand are converted (by input filter?) to their html equivalent,
for example

&  ->  &

what results in the string not being found by the associated sql query.
This behavior is corrected by applying function "html_entity_decode" to parameter "args" in function _insert_view_substitute_tags like

$view_output = insert_view($view_name, $display_id, html_entity_decode($args));
#2 arg_ampersand.patch517 bytesschildi
Members fund testing for the Drupal project. Drupal Association Learn more


Pasqualle’s picture

Status: Active » Needs review
schildi’s picture

517 bytes

it is still not solved.
Here is a patch for version 7.x-2.0

sunshinee’s picture

Thanks for sharing this patch. Works as expected... would be great to see this simple change included in the module. Many clients like to use ampersands in taxonomy terms.