jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Bugs => Topic started by: Nyx on 27.08.2015 15:07:12

Title: Bug or missing Config for Search result limit
Post by: Nyx on 27.08.2015 15:07:12
Hi,...

i found a bug or a missing config for the search result limit.

when i search for a word, that in Jdownloads is e.g. 80 times...

Joomla 3 Search give me 80 results for the word. (I have changed the search limit in the search plugin for "search - content" & "search - jdownloads" from 50 to 300.)

But when I search with the jdownload search the same word,... jdownloads give me only 50 results back.
(I have change the limit in the  search - jdownloads plugin !)

So,.. i search in the jdownload codes,.. and i found the problem:

in "/components/com_jdownloads/models/search.php" on line: 303 you have this limit:

$limit      = $this->state->get('search_limit', 50);

so I change it in the code to e.g.: 300 and volla,... Joomla search AND Jdownload search found for my word all 80 entries.


Can you change it or find a solution for this?

Thanks !

Title: Re: Bug or missing Config for Search result limit
Post by: ColinM on 27.08.2015 22:20:38
Hi Nyx
Thanks for the info - will make sure Arno sees this one.
Colin
Title: Re: Bug or missing Config for Search result limit
Post by: Arno on 28.08.2015 15:53:02
Hi Nyx,
to change only this value fixed not really the problem.
But i will fix it for the next version. I think we could use a new option in the jD configuration or in the jD menu type 'search'.  ::)