[Koha-patches] [PATCH] bug 2496: add 'edit' link to authority search results

Galen Charlton galen.charlton at liblime.com
Fri Aug 8 21:22:59 CEST 2008


When search for an authority record from the bib
record editor, a new link is added to each
authority result to edit the authority record.  This
allows a cataloger to do the following:

1. Start editing a bib record
2. Click on the '...' to select an authorized heading
   for an authority-controlled field.
3. Look at the results in the pop-up window and
   see that an authority record needs correction.
4. Click on the 'edit authority' link.  This allows
   the authority to be revised.  Note that this
   takes place in the popup window, not the originally
   bib editing window.
5. Save the authority record, then close the popup
   window and redo the heading search.

For various reasons, this not a perfect workflow; this
patch is designed to satisfy an immediate requirement
but needs to be reworked in 3.2.
---
 .../modules/authorities/searchresultlist-auth.tmpl |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tmpl
index 549917c..fb12357 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tmpl
@@ -53,6 +53,7 @@ function jumpfull(page)
                     <th>Summary</th>
                     <th>Used</th>
                     <th>Get It!</th>
+                    <th>Other action</th>
                 </tr>
                 <tr>
                     <td>&nbsp;</td>
@@ -62,6 +63,7 @@ function jumpfull(page)
                             Clear
                         </a>
                     </td>
+                    <td>&nbsp;</td>
                 </tr>
                 <!-- TMPL_LOOP NAME="result" -->
                     <tr>
@@ -70,6 +72,7 @@ function jumpfull(page)
                         <td>
                             <a href="javascript:jumpfull('blinddetail-biblio-search.pl?authid=<!-- TMPL_VAR NAME="authid" -->&amp;index=<!-- TMPL_VAR NAME="index" -->')">choose</a>
                         </td>
+                        <td><a href="authorities.pl?authid=<!-- TMPL_VAR NAME="authid" -->">Edit authority</a></td>
                     </tr>
                 <!-- /TMPL_LOOP -->
             </table>
-- 
1.5.5.GIT




More information about the Koha-patches mailing list