Hi @asmecher,
Unfortunately not. I did some debugging:
Selecting/deselecitng new feature in the catalog page enters/deletes an entry in the DB, but assoc_id is 1 instead of 4 - this is the context_id, right?
I changed the code in the controllers/list/submissions/CatalogSubmissionsListHandler.inc.php to folowing (lines 90+):
file_put_contents(“/public_html/controllers/list/submissions/logPrimoz”, PHP_EOL . "contextId? " . PHP_EOL, FILE_APPEND);
if ($context) { $config['contextId'] = 4;
file_put_contents(“/public_html/controllers/list/submissions/logPrimoz”, PHP_EOL . "contextId: " . $context->getId().PHP_EOL, FILE_APPEND);
and still the DB gets 1 instead of 4, that I hardcoded, while nothing written in the logPrimoz
Further more, this is what I see in the browser console:
{“featured”:,“newRelease”:[{“assoc_type”:512,“assoc_id”:1}]}
Any idea what I am doing wrong? To me looks strange as I hardcoded 4 and still gets 1 to the DB. Wrong place?
Best regards, Primož