Gossamer Forum
Home : Products : Gossamer Links : Pre Sales :

Output limited ?!

Quote Reply
Output limited ?!
$db = new Links::DBSQL "$LINKS{admin_root_path}/defs/Links.def";
$links = $db->query ( { Contact_Email => $in->param('sendto'), ww => 1 } );
if ($links) {
...
foreach my $hit (@$links) {
...

Somebody knows why this limits my query to 25 links? Is this a buildin limit?

Robert


Quote Reply
Re: Output limited ?! In reply to
Where is that code?

In Links.pm there is a default you can set for links per page.

In the Admin, it's a bit trickier to find. You have to go into the subroutine, and take care of it.

Hopefully, these are some of the settings pulled into the new setup features of the next version. From what I've heard of the next version, the Admin is completely reworked to allow "plug-ins" (?? similar to HamWeather?? which has a similar Admin interface). If this is done, there needs to be a global admin-config area, so these setting may be pulled out to be more accessible.

Otherwise, you can change the defaults in DBSQL.pm (?) or DB_Utils.pm (?) (I forget which) and you need to go into the various Admin subroutines to change the arbitrary 10 or 25 record limit.


http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/

Quote Reply
Re: Output limited ?! In reply to
This is part of my script to send a user all entrees he has inside links; but unfortunately it sends only 25 hits (and for this user i have 127 inside)

But this is not so important, cause in real links nobody would have more than 4,5 entrees.

BTW: Have something done terrible with my sort-routine (Weights are set!)
I dont know what. But a search for "test" brings nothing back, a search for "test*" finds all links and all cats.
Do you have a clue on this?

Robert

Quote Reply
Re: Output limited ?! In reply to
I don't have a clue. Can I see that in operation?

"Test" should find only "test" if substrings are not enabled. "test*" actually should not find anything.... but I could be wrong about that.



http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/

Quote Reply
Re: Output limited ?! In reply to
You are. test* really find all test*.... cats or links.
Robert