<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">When using extenders, the position of
the extender is important. Check out:<br>
<br>
<a href="http://drupal.org/node/508796">http://drupal.org/node/508796</a><br>
<br>
So make sure you have the ->extend right after your select.
Then use your $query to do whatever other joins, conditions,
fields, etc. you want. Put the limit in on that too. <br>
<br>
You might want to check out node_admin_nodes() in node.admin.inc
to get a better idea.<br>
<pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a>
<a class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a></pre>
On 10/29/2012 11:49 AM, Ms. Nancy Wichmann wrote:<br>
</div>
<blockquote
cite="mid:1351525785.20349.YahooMailNeo@web181605.mail.ne1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:tahoma,
new york, times, serif;font-size:12pt">
<div><span>I have a pager query ("<span style="font-family:
Courier New,courier,monaco,monospace,sans-serif;">$query =
$query->extend('PagerDefault')->limit($limit);</span>")
coded and it is working fine. However, the <span
style="font-family: Courier
New,courier,monaco,monospace,sans-serif;">theme('pager')</span>
is doing nothing. It returns a null string, so I am not
getting a pager on the page. I have searched all over D.O,
but am apparently missing the solution.<br>
</span></div>
<div><span></span></div>
<div> </div>
<div><font color="#ff007f" size="4" face="bookman old style, new
york, times, serif"><i><b>Nancy<br>
</b></i></font></div>
<div><font face="arial, helvetica, sans-serif">Injustice
anywhere is a threat to justice everywhere. -- Dr. Martin L.
King, Jr.</font></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>