Update of 
/var/cvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/resources
In directory 
james.mmbase.org:/tmp/cvs-serv8425/cmsc/contentrepository/src/webapp/editors/resources

Modified Files:
      Tag: v1_3
        urlsearch.jsp 
Log Message:
CMSC-1128 Added a sortable column to the URL search screen in the repository, 
which makes to order the results based on modified date.


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/resources
See also: http://www.mmbase.org/jira/browse/CMSC-1128


Index: urlsearch.jsp
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/resources/urlsearch.jsp,v
retrieving revision 1.6.2.1
retrieving revision 1.6.2.2
diff -u -b -r1.6.2.1 -r1.6.2.2
--- urlsearch.jsp       11 Feb 2008 09:22:17 -0000      1.6.2.1
+++ urlsearch.jsp       29 Oct 2008 10:57:32 -0000      1.6.2.2
@@ -63,6 +63,7 @@
                                        <th nowrap="true"><a href="#" 
class="headerlink" onclick="orderBy('name');"><fmt:message
                                                key="urlsearch.namecolumn" 
/></a></th>
                                        <th><a href="#" class="headerlink" 
onclick="orderBy('url');"><fmt:message key="urlsearch.urlcolumn" /></a></th>
+               <th><a href="#" class="headerlink" 
onclick="orderBy('creationdate')"><fmt:message key="locate.lastmodifiedcolumn" 
/></a></th>
                     <th><fmt:message key="urlsearch.validcolumn" /></th>
                                </tr>
                                <tbody class="hover">
@@ -93,6 +94,7 @@
                                                        <td 
onMouseDown="objClick(this);">${fn:substring(name, 0, 40)}<c:if 
test="${fn:length(name) > 40}">...</c:if></td>
                                                        <mm:field name="url" 
jspvar="url" write="false"/>
                                                        <td 
onMouseDown="objClick(this);">${fn:substring(url, 0, 40)}<c:if 
test="${fn:length(url) > 40}">...</c:if></td>
+                                                       <td><mm:field 
name="creationdate"><mm:time format=":MEDIUM"/></mm:field></td>
                             <mm:field name="valid" write="false" 
jspvar="isValidUrl"/>
                             <td>
                                 <c:choose>
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to