85978a4d18
Since IDF's text search component does not allow further restrictions on the result set, we make a second, filtered query to restrict to the item state ('open' or 'closed') and optionally a label. All in all this is all harder than it could be, especially the tag cloud is very monolithic and should be replaced by a data-driven component that is less dependent on a single data / query and link usage, but this would for now require too many changes. Similar questionable is the code duplication for the index, listStatus and listLabel view implementations that all do more or less the same. The search implementation now only uses one implementation for a very similar use case. It also removes the artificial restriction to 100 results we had previously there and does not query a record for each single result (as was done with Pluf_Search_ResultSet previously). On my way through this I tried to generalize a couple of i18n texts and removed smaller issues like the "trailing comma" in label lists. This partially fixes issue 548. |
||
---|---|---|
contrib/zipstream-php-0.2.2 | ||
doc | ||
logo | ||
scripts | ||
src/IDF | ||
test | ||
www | ||
.gitattributes | ||
.gitignore | ||
AUTHORS | ||
CONTRIBUTE.mdtext | ||
COPYING | ||
INSTALL.mdtext | ||
Makefile | ||
NEWS.mdtext | ||
phpunit.xml | ||
release-script | ||
run-tests |