still to test
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 17 Sep 2012 22:15:25 +0000 (18:15 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 21 Sep 2012 15:07:01 +0000 (11:07 -0400)
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/templates/url_verify/create_session.tt2
Open-ILS/src/templates/url_verify/review_attempt.tt2

index d29ccd9..493c321 100644 (file)
@@ -20,6 +20,7 @@
 <style type="text/css">
     #uv-search { width: 20em; }
     .note { font-style: italic; background-color: #eee; }
+    #saved-searches { width: 15em; }
     #uv-tags-and-subfields { background-color: #ddd; }
     table.create-session-form th { text-align: right; padding-right: 1em; }
     table.create-session-form {
index 093d63c..d232589 100644 (file)
@@ -37,8 +37,6 @@
         columnPersistKey='"url_verify.review_attempt"'
         autoHeight="10"
         editOnEnter="false"
-        autoFieldFields="['url']"
-        autoFieldFieldsUnsorted="['url']"
         autoCoreFields="true"
         autoCoreFieldsFilter="true"
         autoCoreFieldsUnsorted="true"
         fmClass="'uvuv'">
         <thead>
             <tr>
-                <th field="url_redirect_from" fpath="url.redirect_from"></th>
+                <th field="redirect_from" fpath="url.redirect_from"></th><!-- From here through fragment, these are fields from uvu.  We could have just used autoFieldFields on the FlattenerGrid, but by naming them explicitly we use the same field names that we use in the URL selection interface, allowing the two interfaces to use common saved filter sets. -->
+                <th field="tag" fpath="url.tag" ffilter="true"></th>
+                <th field="subfield" fpath="url.subfield" ffilter="true"></th>
+                <th field="ord" fpath="url.ord" ffilter="true"></th>
+                <th field="full_url" fpath="url.full_url" ffilter="true"></th>
+                <th field="scheme" fpath="url.scheme" _visible="false" ffilter="true"></th>
+                <th field="host" fpath="url.host" _visible="false" ffilter="true"></th>
+                <th field="domain" fpath="url.domain" _visible="false" ffilter="true"></th>
+                <th field="tld" fpath="url.tld" _visible="false" ffilter="true"></th>
+                <th field="path" fpath="url.path" _visible="false" ffilter="true"></th>
+                <th field="page" fpath="url.page" _visible="false" ffilter="true"></th>
+                <th field="query" fpath="url.query" _visible="false" ffilter="true"></th>
+                <th field="fragment" fpath="url.fragment" _visible="false" ffilter="true"></th>
                 <th field="title" fpath="url.item.target_biblio_record_entry.simple_record.title"></th>
                 <th field="author" fpath="url.item.target_biblio_record_entry.simple_record.author"></th>
                 <th field="isbn" fpath="url.item.target_biblio_record_entry.simple_record.isbn" _visible="false"></th>