I'm using a view to list products from db index. I want to implement a custom sorting (my goal is to sort by current taxonomy term page, products having a specific node field field_MY_FIELD_NAME = CURRENT_TID, showing up first)
First using hook_views_data_alter I override the sort of an indexed field that I have chosen as a sort criteria inside the view
First Drupal 9 site and custom module. I am having to constantly clear the cache for my module functions to be called more than once. Where might I look to disable all caching - or what might I be doing incorrectly that my path is not triggering my _controller functions more than once without clearing the cache?
I have a form with one input which asks the user to select 'entity_id' which is populated via entity reference and on selection it updates the work_email field for the user as part of ajaxcall updateNameFields.Intially the form is created as a table container with 5 rows and two columns 'entity_id' and 'work_email'.Form has a button to add new item/rows using another ajax call updateNames.This works good too.Problem is the ajax call (updateNameFields) on the newly added row is not getting called .
I am new to Ajax and looking for any input which would help to fix this issue.