Gossamer Forum
Home : Products : DBMan : Installation :

Making it so one hit does not take me to modify record.

Quote Reply
Making it so one hit does not take me to modify record.
If a search result has only one hit, by default, it goes to the modify record screen (I believe). I would like it to show the record, not modify it. Similar to displaying more than one record.

I do have the short view/ long view mod installed, but I don't think that matters.
Quote Reply
Re: Making it so one hit does not take me to modify record. In reply to
Take out (or comment out) the line

if (($numhits == 1) and !$in{'nh'}) { $in{'modify'} = $hits[$db_key_pos]; &html_modify_form_record(); return; }

in html_modify_form.



------------------
JPD