News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Bug or missing Config for Search result limit

Started by Nyx, 27.08.2015 15:07:12

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nyx

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 !

  •  

ColinM

Hi Nyx
Thanks for the info - will make sure Arno sees this one.
Colin
Colin M
  •  

Arno

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'.  ::)
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •