Ticket #130: searchfolders.patch
| File searchfolders.patch, 1.0 kB (added by sameerdcosta@…, 3 years ago) |
|---|
-
cls/search.php
159 159 160 160 161 161 if ($this->channelId != ALL_CHANNELS_ID) { 162 $qWhere .= " and c.id = " . $this->channelId . "";162 $qWhere .= " and ( c.id = " . $this->channelId . " or c.parent = " . $this->channelId . " ) "; 163 163 } 164 164 165 165 if (hidePrivate()) { -
cls/wrappers/searchform.php
93 93 $parent_ = LBL_HOME_FOLDER; 94 94 } 95 95 $ret .= "\t\t\t<optgroup label=\"$parent_ /\">\n"; 96 $ret .= "\t\t\t\t<option value=\"$parent_id_\"". 97 ((array_key_exists(QUERY_CHANNEL, $_REQUEST) && $_REQUEST[QUERY_CHANNEL] == $parent_id_) ? 98 " selected=\"selected\"" : "").">* All $parent_ feeds *</option>\n"; 99 96 100 $prev_parent = $parent_id_; 97 101 } 98 102
