<font size=2 face="sans-serif"><br>
I swear I tried that and it still didn't work. It does now, thank you.
Can you tell me what I need to add to &quot;$c-&gt;stash(accounts =&gt;
[ $c-&gt;model('ORANGES::AccountView')-&gt;all ]);&quot; to sort by the
account_code in ascending order? It's obviously &quot;sort, but the actual
syntax is what I'm looking for. Thanks again.</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Will Crawford &lt;billcrawford1970@gmail.com&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">The elegant MVC web framework &lt;catalyst@lists.scsys.co.uk&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">04/27/2012 09:55 AM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: [Catalyst] No data showing</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=3><br>
</font>
<br><font size=3>On 27 April 2012 15:50, Kenneth S Mclane &lt;</font><a href=mailto:ksmclane@us.ibm.com target=_blank><font size=3 color=blue><u>ksmclane@us.ibm.com</u></font></a><font size=3>&gt;
wrote:</font>
<br><font size=3 face="sans-serif">This was a test to make sure I was actually
getting data. My intention is to return all rows in pager format. I haven't
made it to that part yet. Here is my template code:</font><font size=3>
<br>
</font><font size=3 face="sans-serif"><br>
&lt;table width=&quot;100%&quot; border=&quot;1&quot;&gt;</font><font size=3>
</font><font size=3 face="sans-serif"><br>
&nbsp; &nbsp; &lt;tr&gt;&lt;th&gt;Department&lt;/th&gt;&lt;th&gt;Account
Code&lt;/th&gt;&lt;th&gt;Account Name&lt;/th&gt;&lt;th&gt;Policy&lt;/th&gt;&lt;th&gt;Compliant&lt;/th&gt;&lt;th&gt;Servers&lt;/th&gt;&lt;th&gt;Subsystems&lt;/th&gt;&lt;th&gt;Complete&lt;/th&gt;&lt;th&gt;Status&lt;/th&gt;&lt;/tr&gt;</font><font size=3>
</font><font size=3 face="sans-serif"><br>
&nbsp; &nbsp; [% # Display each account in a table row %]</font><font size=3>
</font><font size=3 face="sans-serif"><br>
&nbsp; &nbsp; [% FOREACH account IN accounts -%]</font><font size=3> </font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^^^^^^^&nbsp;</font>
<br><font size=3 face="sans-serif">&nbsp; &nbsp; &nbsp; &lt;tr&gt;</font><font size=3>
</font><font size=3 face="sans-serif"><br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;1[% accounts.department_id
%]&lt;/td&gt;</font><font size=3> </font>
<br><font size=3>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^^^^^^^^&nbsp;</font>
<br>
<br><font size=3>You're simply referring to the list instead of the item
here.</font>
<br><tt><font size=2>_______________________________________________<br>
List: Catalyst@lists.scsys.co.uk<br>
Listinfo: </font></tt><a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst"><tt><font size=2>http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</font></tt></a><tt><font size=2><br>
Searchable archive: </font></tt><a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/"><tt><font size=2>http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</font></tt></a><tt><font size=2><br>
Dev site: </font></tt><a href=http://dev.catalyst.perl.org/><tt><font size=2>http://dev.catalyst.perl.org/</font></tt></a><tt><font size=2><br>
</font></tt>
<br>
<br>