Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi!
In my use case I use taxonomy to identify my resources (rooms) and have altered the search form to include these terms.
I want to alter the query executed by the AvailabilityAgent in order to find any available resource. To do so, I would require that the queries executed by the agent are tagged.
So, line 84 of the rooms_booking.availability_agent.inc could be:
->addTag('rooms_availability_agent')
I can provide the patch if requested.
Comment | File | Size | Author |
---|---|---|---|
#3 | rooms-add_tag-1784950-3.patch | 1.23 KB | msti |
Comments
Comment #1
acrollet CreditAttribution: acrollet commentedHi msti,
please do provide a patch, we'll be happy to review it.
Comment #2
mstiOk, I will provide the patch within the next days
Comment #3
mstihere is the patch
Comment #4
mstiComment #5
jwilson3@ronald, @adrian:
Could this
$query->addTag()
solution be generalized to the entire module, for better alterability across all queries?