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));
CommentFileSizeAuthor
#2 arg_ampersand.patch517 bytesschildi

Comments

pasqualle’s picture

Status: Active » Needs review
schildi’s picture

StatusFileSize
new517 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.

igor mashevskyi’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

D6 reached its EOL back in February 2016, and there is no active release for D6 for this module anymore.
Development or support is not planned for D6. All D6-related issues are marked as outdated in a bunch.

Everyone can apply the patch above (not tested by the maintainers, tested by the community) to their D6 projects.
If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.

Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.