summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-12 14:28:08 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-12 14:28:08 -0400
commitb7060b33ef317eeac576c504b1fb840d4471e411 (patch)
tree8acf657eda4df76285905fc5e774aacecb02f488 /scripts
parentdeeebd8e72a13fcbe6d357aefed9130671ee5161 (diff)
Add pagination/column sorting for search and completed tasks
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create-random-tasks.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/create-random-tasks.php b/scripts/create-random-tasks.php
index 4d665178..9391c68c 100755
--- a/scripts/create-random-tasks.php
+++ b/scripts/create-random-tasks.php
@@ -19,6 +19,7 @@ foreach (array(1, 2, 3, 4) as $column_id) {
'owner_id' => rand(0, 1),
'color_id' => rand(0, 1) === 0 ? 'green' : 'purple',
'score' => rand(0, 21),
+ 'is_active' => rand(0, 1),
);
$taskModel->create($task);