Needs review
Project:
Smartqueue language
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2013 at 07:50 UTC
Updated:
30 Mar 2020 at 06:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
greggadsdon commentedThis patch implements hook_query_TAG_alter() for the tag in the nodequeue_api_autocomplete query supplied by this patch: https://drupal.org/files/issues/nodequeue-query_add_tag-2231793-9.patch
This means allows Smartqueue language to step in and just add language conditions to the query generated by nodequeue.
Comment #2
karlsheaPatch in #1 worked for me along with the patch to nodequeue in the referenced issue.
Comment #3
karlsheaActually this patch broke autocomplete for non-smartqueue queues. I've changed the patch so it only adds the language condition when the unserialized $queue->reference is null and that seems to have fixed it.
Comment #4
sbrattla commentedIs a solution to #2231793: Autocomplete does not pass autocomplete text to hook required to get this issue solved and closed?
Comment #5
karlsheaIf I remember right that is correct. I'm pretty sure I needed both.
Comment #6
AlxVallejo commentedThis is a great module if used wisely.
If you're including 'All' languages in the nodequeue settings, the autocomplete did not consider the default language .. only the subqueue reference language. I'm adding a patch that adds the default language to that list. This is especially useful when using Entity Translation so that you have access to the default language nodes.
Comment #7
asrobUpdated patch for 7.x-1.x-dev.