Gossamer Forum
Home : Products : DBMan : Customization :

Short/Long List BUG FOUND

Quote Reply
Short/Long List BUG FOUND
In the html.pl file, the routines sub html_delete_form and sub html_modify_form require the following line added to the variable list (just above &html_print_headers;)

$in{'nh'} ? ($nh = $in{'nh'}) : ($nh = 1);

HTH someone! Regards, Brian

Quote Reply
Re: Short/Long List BUG FOUND In reply to
Hi!

Just wondering: Why is this line missing? What'S the problem?

Can anyone verify this bug fix?

CU
lastdrop

Quote Reply
Re: Short/Long List BUG FOUND In reply to
Just to let you know I have posted another BUG for this mod as a separate thread:

In sub html_view_success:
$rec_count = 1;

MUST COME ABOVE:
if ($db_next_hits) { print "
<$font>Pages: $db_next_hits</font>"; }


If not, then searches that produce results that can fit a single page (nh < mh), have their $long_url link offset by -1. For example, clicking on the $long_url link for nh=2, will actually show nh=3

Note, nh = number of the record to be displayed.

HTH someone. Best regards, Brian

Quote Reply
Re: Short/Long List BUG FOUND In reply to
true bug reports made changes and hey dudes they work, ihad problems with it last night and someone told me that the short/long was'nt made for deleting or modifying i couldnt understand it.
hey guys and girls thanks for the changes...

Quote Reply
Re: Short/Long List BUG FOUND In reply to
i have made the changes in the modify section but when i goto modify a record with the short/long method and press on a short record it goes to the screen with next and previous instead of the record to be modified why is this can you help please?