Koha/koha-tmpl/intranet-tmpl/prog/en/modules/serials
Fridolyn SOMERS 4458e86865 Bug 10689: make public note appear in subscriptions search
In a serials module, when searching subscriptions, the results table as
a "Notes" column.
In TT code, you see that it tries to display public note
"subscription.notes" and internal note "subscription.internalnotes".

The internal note is displayed well but not the public note.

You can see the 2 notes in serial details in summary tab.

The problem commes from the SQL query. A join is perform on subscription
and biblio, both containing a "notes" column.

This patch solves the problem by using a alias in query for both columns
(biblio.notes is acutally not used in template but could be).

Test plan :
- Edit a subscription
- Add public and internal notes. For example : "too busy" and "on holiday"
- Perform a subscription search that returns this subscription
=> "Notes" column contains both notes. For example : "too busy (on holiday)"
- Test with only public note
- Test with only internal note

Works as described.
Signed-off-by:Mathieu Saby <mathieu.saby@uhb.fr>
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All tests and QA script pass.
Works as described, fixes a bug as the templates show that
the intention was to display both notes in the column.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-10-11 04:21:47 +00:00
..
acqui-search-result.tt
acqui-search.tt
checkexpiration.tt Bug 10570: Show nonpublic note on check expiration page 2013-09-16 16:22:31 +00:00
claims.tt Bug 10854: (follow-up) language tweaks 2013-10-11 03:52:59 +00:00
member-search.tt
result.tt Bug 9265 - Switch to HTML5 doctype in OPAC and staff client 2013-01-31 11:47:04 -05:00
routing-preview-slip.tt
routing-preview.tt
routing.tt bug 10365: change routing slips to use date published rather than planned date 2013-10-10 23:38:11 +00:00
serial-issues-full.tt Bug 8782: Close a subscription 2012-11-30 08:14:24 -05:00
serial-issues.tt
serials-collection.tt bug 10365: change routing slips to use date published rather than planned date 2013-10-10 23:38:11 +00:00
serials-edit.tt Bug 10543 - Unify item mandatory subfields check 2013-07-30 14:47:10 +00:00
serials-home.tt Bug 5343: Link serial and acqui modules 2013-03-22 23:54:43 -04:00
serials-recieve.tt Bug 8782: Close a subscription 2012-11-30 08:14:24 -05:00
serials-search.tt Bug 10689: make public note appear in subscriptions search 2013-10-11 04:21:47 +00:00
subscription-add.tt Bug 10080: (followup) change two last instances of the old syspref name 2013-05-22 08:10:35 -07:00
subscription-bib-search.tt
subscription-detail.tt Bug 10145: The acquisition details block is badly placed. 2013-05-01 06:28:35 -04:00
subscription-renew.tt
viewalerts.tt