Ticket #1429 (closed Bugs: fixed)

Opened 5 years ago

Last modified 5 years ago

Report does not show Duration correct on second page

Reported by: mickecarlsson Assigned to:
Priority: trivial Milestone:
Component: Reports Version: 2.2beta3
Keywords: Cc:
Confirmation: SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

Click on Reports, data that appears on Duration is like 00:33 for a 33 second call. Click on Next, duration is in seconds only, 92 for a 01:32 call , radiobutton for minutes is empty. Click to set minute radiobutton, click search, click Next, now it is stuck and display Duration correctly for all pages.

Click on Call Logs again, do the same procedure as above, same error.

Both IE and Firefox does this.

Change History

11/24/06 22:06:27 changed by p_lindheimer

  • priority changed from major to minor.

just checked against 2.1 - same issue so this is not new to 2.2. I'm down grading this to minor since it is not new but leaving it in 2.2 to keep it visible as it should get fixed eventually.

11/26/06 23:37:01 changed by p_lindheimer

  • priority changed from minor to trivial.

01/03/07 21:59:27 changed by naftali5

fixed. diff posted below

Index: amp_conf/htdocs/admin/cdr/call-log.php
===================================================================
--- amp_conf/htdocs/admin/cdr/call-log.php      (revision 3519)
+++ amp_conf/htdocs/admin/cdr/call-log.php      (working copy)
@@ -7,6 +7,7 @@
 //session_start();

 getpost_ifset(array('posted', 'Period', 'frommonth', 'fromstatsmonth', 'tomonth', 'tostatsmonth', 'fromday', 'fromstatsday_sday', 'fromstatsmonth_sday', 'today', 'tostatsday_sday', 'tostatsmonth_sday', 'dsttype', 'sourcetype', 'clidtype', 'channel', 'resulttype', 'stitle', 'atmenu', 'current_page', 'order', 'sens', 'dst', 'src', 'clid', 'userfieldtype', 'userfield', 'accountcodetype', 'accountcode', 'duration1', 'duration1type', 'duration2', 'duration2type'));
+if (($resulttype == null) || ($resulttype == "")) unset($resulttype);

 //echo "'posted=$posted', 'Period=$Period', 'frommonth=$frommonth', 'fromstatsmonth=$fromstatsmonth', 'tomonth=$tomonth', 'tostatsmonth=$tostatsmonth', 'fromday=$fromday', 'fromstatsday_sday=$fromstatsday_sday', 'fromstatsmonth_sday=$fromstatsmonth_sday', 'today=$today', 'tostatsday_sday=$tostatsday_sday', 'tostatsmonth_sday=$tostatsmonth_sday', 'dsttype=$dsttype', 'sourcetype=$sourcetype', 'clidtype=$clidtype', 'channel=$channel', 'resulttype=$resulttype', 'stitle=$stitle', 'atmenu=$atmenu', 'current_page=$current_page', 'order=$order', 'sens=$sens', 'dst=$dst', 'src=$src', 'clid=$clid', 'userfieldtype=$userfieldtype', 'userfield=$userfield', 'accountcodetype=$accountcodetype', 'accountcode=$accountcode', 'duration1=$duration1', 'duration1type=$duration1type', 'duration2=$duration2', 'duration2type=$duration2type'";

01/03/07 22:11:41 changed by RobThomas

  • status changed from new to closed.
  • resolution set to fixed.

Applied as r3521 in trunk, r3522 to 2.2. Thanks!