From f1eec57221f9bca047ff8d422ade1e26df0fa233 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 5 Apr 2009 16:57:51 +0000 Subject: Add a weight column to the items model. Change the album ordering to use this as the default instead of id. This prepares the way for manual reordering in the organize functionality. --- core/tests/Albums_Controller_Test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/tests/Albums_Controller_Test.php') diff --git a/core/tests/Albums_Controller_Test.php b/core/tests/Albums_Controller_Test.php index b43ae01b..747b7427 100644 --- a/core/tests/Albums_Controller_Test.php +++ b/core/tests/Albums_Controller_Test.php @@ -31,7 +31,7 @@ class Albums_Controller_Test extends Unit_Test_Case { $_POST["name"] = "new name"; $_POST["title"] = "new title"; $_POST["description"] = "new description"; - $_POST["column"] = "id"; + $_POST["column"] = "weight"; $_POST["direction"] = "ASC"; $_POST["csrf"] = access::csrf_token(); $_POST["_method"] = "put"; -- cgit v1.2.3