This repository has been archived on 2025-05-04. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
s2forums/djangobb_forum
JensDiemer 48ed192424 * Bugfix for double results in "show own posts" * Don't put user_id in GET -> use request.user * remove {% if results %} with {% for %}...{% empty %} * Refactor search()
Fixed topic search results which returned nothing.
Return a list instead of a generator in TopicFromPostResult.__getitem__() so that the pagination can work correctly.
from: https://bitbucket.org/hsoft/djangobb/changeset/1b2f31c54c516c699a7b11a1d43b170742157df5

use the slow, but correct solution for display the result as topics

used fast solution with a work-a-round for double topics

respect sort order

count only one time

better solution, but slow with woosh and many hits

change info

make it DRY

remove debug imports

remove not needed tuple()

* add "show your topics/posts" search
* add link to switch between topics/posts search
* merge {% block controls %}
* make search_posts.html useable with queryset and SearchQuerySet

Add topic <-> post switch links to other type of search, too.

not really in GET needed.

* Use PostSearchForm() in normal search
* add switch links to normal search, too.

better docstring

better text?
2012-08-08 11:00:28 +03:00
..
fixtures fix tests for static 2011-11-10 14:39:50 +02:00
locale update translations from Transifex 2012-06-07 12:27:24 +03:00
management remove project files, now hosted at single app http://bitbucket.org/slav0nic/djangobb_project. This repo contains only app files 2011-08-17 15:11:14 +03:00
migrations add auto subscribe topic feature: http://djangobb.org/ticket/175 2012-08-07 16:44:16 +03:00
static/djangobb_forum * Bugfix: if selection used. * Copy&Paste only the post body and not "meta" lines 2012-08-07 16:44:16 +03:00
templates * Bugfix for double results in "show own posts" * Don't put user_id in GET -> use request.user * remove {% if results %} with {% for %}...{% empty %} * Refactor search() 2012-08-08 11:00:28 +03:00
templatetags auto code cleanup 2012-08-07 16:44:16 +03:00
tests fix tests for static 2011-11-10 14:39:50 +02:00
__init__.py fix comment 2011-08-23 10:27:40 +03:00
admin.py [PATCH] see subscribers usernames in TopicAdmin 2012-07-30 10:49:59 +03:00
context_processors.py use uncompressed jQuery in DEBUG mode for better debugging 2012-08-07 16:44:16 +03:00
feeds.py forum -> djangobb_forum 2011-08-18 11:41:59 +03:00
fields.py fix ExtendedImageField for django > 1.0 2012-05-16 13:05:54 +03:00
forms.py add auto subscribe topic feature: http://djangobb.org/ticket/175 2012-08-07 16:44:16 +03:00
middleware.py set USER_ONLINE_TIMEOUT = 15 minutes 2012-04-26 14:31:51 +03:00
models.py add auto subscribe topic feature: http://djangobb.org/ticket/175 2012-08-07 16:44:16 +03:00
search_indexes.py remove project files, now hosted at single app http://bitbucket.org/slav0nic/djangobb_project. This repo contains only app files 2011-08-17 15:11:14 +03:00
settings.py update dajngo-messages to 0.5pre with django 1.4 support 2012-05-04 12:30:05 +03:00
signals.py move import signals to models.py; using get_version at setup.py 2011-08-18 10:42:44 +03:00
subscription.py remove project files, now hosted at single app http://bitbucket.org/slav0nic/djangobb_project. This repo contains only app files 2011-08-17 15:11:14 +03:00
urls.py remove delete_avatar (unneeded) 2012-05-16 12:40:37 +03:00
util.py * Bugfix for double results in "show own posts" * Don't put user_id in GET -> use request.user * remove {% if results %} with {% for %}...{% empty %} * Refactor search() 2012-08-08 11:00:28 +03:00
views.py * Bugfix for double results in "show own posts" * Don't put user_id in GET -> use request.user * remove {% if results %} with {% for %}...{% empty %} * Refactor search() 2012-08-08 11:00:28 +03:00