Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#8616 closed defect (fixed)

Mythweb: Upcoming recordings doesn't doesn't show record date value when sorting by something other than record date

Reported by: Doug Haber <doug@…> Owned by: Rob Smith
Priority: minor Milestone: 0.24
Component: Plugin - MythWeb Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no


If you sort by anything other than record date the upcoming recordings screen doesn't doesn't show the record date value.

Thanks! Doug

Change History (4)

comment:1 Changed 11 years ago by Doug Haber <doug@…>

It looks to me like the Translate class is unset'ing the _Session[] variables which causes the date string for record date to be lost. Consequently, when it's printed out to screen the string is null so it nothing is displayed. On the next hit, the session variable is set back and the string appears. On the next hit, the Translate class unsets it again and repeat.

comment:2 Changed 11 years ago by Doug Haber <doug@…>

I was able to fix it by adding the below to the bottom of includes/translate.php:

    // hook to load the translation

This works, because includes/init.php includes translate.php before config.php. So, by forcing the translate look up (and cache) before config.php is included we make sure that the date strings don't get unset.


comment:3 Changed 11 years ago by Rob Smith

Resolution: fixed
Status: newclosed

(In [25468]) Fixes #8614 and fixes #8616, this fixes up the cache trash on date codes and also the number translate function

comment:4 Changed 10 years ago by stuartm

Milestone: unknown0.24
Note: See TracTickets for help on using tickets.