jDownloads

First of all: Thank you for your time. Thanks for trying to help us making jDownloads a better component. It's very much appreciated!

================================================
THIS BUGTRACKER IS CLOSED!!!
THIS BUGTRACKER IS CLOSED!!!
THIS BUGTRACKER IS CLOSED!!!
================================================

So it is not possible to add new task here.
Please use the support forum when you will do this.

We hope we can go online with a new bugtracker site in the next weeks - we work on it.

Many thanks.
Tasklist

FS#28 - Search form submission

Attached to Project: jDownloads
Opened by Anonymous Submitter - Sunday, 02 January 2011, 20:46 GMT+2
Last edited by Administrator (admin) - Wednesday, 12 January 2011, 18:08 GMT+2
Task Type Bug Report
Category Frontend
Status Closed
Assigned To Administrator (admin)
Operating System Joomla 1.5.x
Severity Medium
Priority Normal
Reported Version 1.7.5
Due in Version 1.8.1 RC Build 822
Due Date 2011-01-12
Percent Complete 100%
Votes 0
Private No

Details

Version 1.7.6
When an empty or shorter than 3 symbols string is submitted via the search form.
1 --> Database Query is issued
2 --> Page with the results is been generated
3 --> javascript redirection
4 --> Again a page has to be generated.

Who needs this?
Here is the fix I did to avoid Steps 1, 2, 3!

in jdownloads.html.php`> function showSearchResult($option){

if (strlen($searchtext) < 3){
//NK & Co.
$mainframe->redirect(JRoute::_('index.php?option=com_jdownloads&view=search'));
/* Commented just to show where it was.
echo "<script> alert('".JText::_('JLIST_FRONTEND_SEARCH_RESULT_TEXT_TO_SHORT')."'); window.history.go(-1); </script>\n";
*/
}
//////////
Also there is a need of an little javascript check to avoid the form submission from happening.

This task depends upon

Closed by  Administrator (admin)
Wednesday, 12 January 2011, 18:08 GMT+2
Reason for closing:  Implemented
Comment by Administrator (admin) - Monday, 03 January 2011, 02:11 GMT+2
This is not a bugfix. Only a optimization.
But i will change it with a little javascript code.
Thanks.

Loading...