modification to show the library and not the username of the person at OPAC.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
1ed9c8d729
commit
d9f37c23b2
|
|
@ -89,6 +89,7 @@ sub SearchSuggestion {
|
|||
my $dbh = C4::Context->dbh;
|
||||
my $query = "
|
||||
SELECT suggestions.*,
|
||||
U1.branchcode AS branchcodesuggestedby,
|
||||
U1.surname AS surnamesuggestedby,
|
||||
U1.firstname AS firstnamesuggestedby,
|
||||
U1.borrowernumber AS borrnumsuggestedby,
|
||||
|
|
@ -223,6 +224,7 @@ sub GetSuggestionByStatus {
|
|||
my $query = qq(SELECT suggestions.*,
|
||||
U1.surname AS surnamesuggestedby,
|
||||
U1.firstname AS firstnamesuggestedby,
|
||||
U1.branchcode AS branchcodesuggestedby,
|
||||
U1.borrowernumber AS borrnumsuggestedby,
|
||||
U2.surname AS surnamemanagedby,
|
||||
U2.firstname AS firstnamemanagedby,
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ $.tablesorter.addParser({
|
|||
Suggested by:
|
||||
</th>
|
||||
<td>
|
||||
<select name="suggestedbyme">
|
||||
<select name="suggestedby">
|
||||
<option value="0">Anyone</option>
|
||||
<option value="1">Me</option>
|
||||
</select>
|
||||
|
|
@ -109,7 +109,7 @@ $.tablesorter.addParser({
|
|||
<!-- TMPL_IF NAME="loggedinusername" --><th> </th><!-- /TMPL_IF -->
|
||||
<th>Summary</th>
|
||||
<th>Note</th>
|
||||
<!-- TMPL_IF NAME="OPACViewOthersSuggestions" --><th>Suggested by</th><!-- /TMPL_IF -->
|
||||
<!-- TMPL_IF NAME="OPACViewOthersSuggestions" --><th>Suggested For</th><!-- /TMPL_IF -->
|
||||
<th>Managed by</th>
|
||||
<th>Status</th>
|
||||
</tr></thead>
|
||||
|
|
@ -129,7 +129,7 @@ $.tablesorter.addParser({
|
|||
<!-- TMPL_VAR name="note" -->
|
||||
</td>
|
||||
<!-- TMPL_IF NAME="OPACViewOthersSuggestions" --><td>
|
||||
<!-- TMPL_IF NAME="surnamesuggestedby" --><!-- TMPL_VAR name="surnamesuggestedby" --><!-- TMPL_IF name="firstnamesuggestedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR name="firstnamesuggestedby" --><!-- TMPL_ELSE --> <!-- /TMPL_IF -->
|
||||
<!-- TMPL_IF NAME="branchcodesuggestedby" --><!-- TMPL_VAR name="branchcodesuggestedby" --><!-- TMPL_ELSE --> <!-- /TMPL_IF -->
|
||||
</td><!-- /TMPL_IF -->
|
||||
<td>
|
||||
<!-- TMPL_IF NAME="surnamemanagedby" --><!-- TMPL_VAR name="surnamemanagedby" --><!-- TMPL_IF name="firstnamemanagedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR name="firstnamemanagedby" --><!-- TMPL_ELSE --> <!-- /TMPL_IF -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue