]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Make sure we save the [date-]time-at-xxx attributes for a job (Issue #1440)
authorMichael R Sweet <msweet@msweet.org>
Mon, 30 Mar 2026 20:51:16 +0000 (16:51 -0400)
committerMichael R Sweet <msweet@msweet.org>
Mon, 30 Mar 2026 20:51:16 +0000 (16:51 -0400)
scheduler/job.c

index 03da0d960656481ba76b0ff146f255703bef7666..5fd49586a9a2e638fb3dbfd34a2a35a8355c27ed 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Job management routines for the CUPS scheduler.
  *
- * Copyright © 2020-2025 by OpenPrinting.
+ * Copyright © 2020-2026 by OpenPrinting.
  * Copyright © 2007-2019 by Apple Inc.
  * Copyright © 1997-2007 by Easy Software Products, all rights reserved.
  *
@@ -4847,6 +4847,9 @@ set_time(cupsd_job_t *job,                /* I - Job to update */
     cupsdLogMessage(CUPSD_LOG_DEBUG2, "set_time: JobHistoryUpdate=%ld",
                    (long)JobHistoryUpdate);
   }
+
+  job->dirty = 1;
+  cupsdMarkDirty(CUPSD_DIRTY_JOBS);
 }