summaryrefslogtreecommitdiff
path: root/internal/store/buckets.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/store/buckets.go')
-rw-r--r--internal/store/buckets.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/internal/store/buckets.go b/internal/store/buckets.go
index 1e3ce9a..5517c66 100644
--- a/internal/store/buckets.go
+++ b/internal/store/buckets.go
@@ -93,10 +93,7 @@ func (s *Store) RemoveBucketItem(taskID string) error {
// both), active first, then by priority -- backs the bucket-management view.
func (s *Store) GetBucketItems(bucketID string) ([]models.Task, error) {
rows, err := s.db.Query(`
- SELECT id, content, description, project_name, project_id, due_date, priority, completed, labels, created_at,
- recurrence_freq, recurrence_interval, recurrence_weekdays, recurrence_series_id, next_occurrence_override, estimated_minutes,
- chain_id, chain_position, chain_unlocked,
- bucket_id, bucket_state, bucket_last_active_at
+ SELECT `+nativeTaskColumns+`
FROM native_tasks
WHERE bucket_id = ?
ORDER BY (bucket_state = 'active') DESC, priority DESC