? weight-filter-sticky-866976.patch
Index: weight_handler_field_sticky.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/weight/weight_handler_field_sticky.inc,v
retrieving revision 1.2.2.3
diff -u -8 -p -r1.2.2.3 weight_handler_field_sticky.inc
--- weight_handler_field_sticky.inc	23 Jul 2010 02:42:29 -0000	1.2.2.3
+++ weight_handler_field_sticky.inc	19 Sep 2010 22:27:00 -0000
@@ -24,23 +24,9 @@ class weight_handler_field_sticky extend
       if ($remainder) {
         $value .= $this->options['decimal'] . $remainder;
       }
     }
     return check_plain($this->options['prefix'] . $value . $this->options['suffix']);
   }
 }
 
-class weight_handler_filter_sticky extends views_handler_filter_boolean_operator {
-  function query() {
-    $this->ensure_my_table();
 
-    $where = "$this->table_alias.$this->real_field ";
-
-    if (empty($this->value)) {
-      $where .= '<= 0';
-    }
-    else {
-      $where .= ' > 0';
-    }
-    $this->query->add_where($this->options['group'], $where);
-  }
-}
Index: weight_handler_filter_sticky.inc
===================================================================
RCS file: weight_handler_filter_sticky.inc
diff -N weight_handler_filter_sticky.inc
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ weight_handler_filter_sticky.inc	19 Sep 2010 22:27:00 -0000
@@ -0,0 +1,17 @@
+class weight_handler_filter_sticky extends views_handler_filter_boolean_operator {
+  function query() {
+    $this->ensure_my_table();
+
+    $where = "$this->table_alias.$this->real_field ";
+
+    if (empty($this->value)) {
+      $where .= '<= 0';
+    }
+    else {
+      $where .= ' > 0';
+    }
+    $this->query->add_where($this->options['group'], $where);
+  }
+}
+
+
