Bug 26686: Fix sorting of "updated on" and "time created" on notices tab
In the patron's account in the staff interface there is a tab
'Notices' that shows all notices sent out to a patron. The
updated on column would not sort at all, but there was also some
markup missing for the time created column.
To test:
- Make sure you have a patron account with some notices, ideally
with different times and dates
- Verify that the updated on column doesn't sort at all
- Apply patch
- Verify both date columns now sort correctly for different
DateFormat settings
Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit b3be51d4ef)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
b1d76c5d08
commit
d3466bf7a3
|
|
@ -30,15 +30,15 @@
|
|||
|
||||
[% IF ( QUEUED_MESSAGES ) %]
|
||||
<table id="noticestable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Notice</th>
|
||||
<th>Type</th>
|
||||
<th>Status</th>
|
||||
<th>Updated on</th>
|
||||
<th>Time created</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Notice</th>
|
||||
<th>Type</th>
|
||||
<th>Status</th>
|
||||
<th class="title-string">Updated on</th>
|
||||
<th class="title-string">Time created</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
[% FOREACH QUEUED_MESSAGE IN QUEUED_MESSAGES %]
|
||||
<tr>
|
||||
|
|
@ -74,7 +74,7 @@
|
|||
</div>
|
||||
[% END %]
|
||||
</td>
|
||||
<td><span title="[% QUEUED_MESSAGE.time_status_changed | html %]">[% QUEUED_MESSAGE.updated_on | $KohaDates with_hours => 1 %]</span></td>
|
||||
<td><span title="[% QUEUED_MESSAGE.updated_on | html %]">[% QUEUED_MESSAGE.updated_on | $KohaDates with_hours => 1 %]</span></td>
|
||||
<td><span title="[% QUEUED_MESSAGE.time_queued | html %]">[% QUEUED_MESSAGE.time_queued | $KohaDates with_hours => 1 %]</span></td>
|
||||
</tr>
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue