We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f64022 commit b26126eCopy full SHA for b26126e
meta/Search.php
@@ -97,6 +97,14 @@ public function addSchema($table, $alias = '')
97
public function addColumn($colname)
98
{
99
if ($this->processWildcard($colname)) return; // wildcard?
100
+ if ($colname[0] == '-') { // remove column from previous wildcard lookup
101
+ $colname = substr($colname, 1);
102
+ foreach($this->columns as $key => $col){
103
+ if ($col->getLabel() == $colname) unset($this->columns[$key]);
104
+ }
105
+ return;
106
107
+
108
$col = $this->findColumn($colname);
109
if (!$col) return; //FIXME do we really want to ignore missing columns?
110
$this->columns[] = $col;
0 commit comments