fix(monitor): remove non-existent worker columns from job_run_logs query
The job_run_logs table tracks scheduled job orchestration, not individual worker jobs. Worker info (worker_id, worker_hostname) belongs on dispensary_crawl_jobs, not job_run_logs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -11,11 +11,16 @@ $columns = isset($atts['columns']) ? $atts['columns'] : 3;
|
||||
?>
|
||||
|
||||
<div class="crawlsy-product-grid crawlsy-grid-cols-<?php echo esc_attr($columns); ?>">
|
||||
<?php foreach ($products as $product): ?>
|
||||
<div class="crawlsy-product-card">
|
||||
<?php if (!empty($product['image_url_full'])): ?>
|
||||
<?php foreach ($products as $product):
|
||||
$image_url = $product['image_url'] ?? $product['primary_image_url'] ?? $product['image_url_full'] ?? '';
|
||||
$product_url = !empty($product['dutchie_url']) ? $product['dutchie_url'] : '#';
|
||||
?>
|
||||
<div class="crawlsy-product-card"
|
||||
<?php if ($product_url !== '#'): ?>onclick="window.open('<?php echo esc_url($product_url); ?>', '_blank')"<?php endif; ?>
|
||||
style="cursor: <?php echo ($product_url !== '#') ? 'pointer' : 'default'; ?>;">
|
||||
<?php if (!empty($image_url)): ?>
|
||||
<div class="crawlsy-product-image">
|
||||
<img src="<?php echo esc_url($product['image_url_full']); ?>"
|
||||
<img src="<?php echo esc_url($image_url); ?>"
|
||||
alt="<?php echo esc_attr($product['name']); ?>"
|
||||
loading="lazy" />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user