Comments (6)
Try this patch and let me know how it goes:
diff --git a/modules/Reports/ReportRun.php b/modules/Reports/ReportRun.php
index ecea02e..a0c4220 100755
--- a/modules/Reports/ReportRun.php
+++ b/modules/Reports/ReportRun.php
@@ -845,7 +845,11 @@ class ReportRun extends CRMEntity {
$tableColumnSql = "CAST((CONCAT(due_date,' ',time_end)) AS DATETIME)";
}
} else {
- $tableColumnSql = $selectedfields[0].".".$selectedfields[1];
+ if ($moduleName==$this->primarymodule) {
+ $tableColumnSql = $selectedfields[0].".".$selectedfields[1];
+ } else {
+ $tableColumnSql = $selectedfields[0].$moduleName.".".$selectedfields[1];
+ }
}
$startDateTime = "'$startDateTime'";
$endDateTime = "'$endDateTime'";
Please try all you other reports that have filters on the dates, this change will affect the way they are generated. Hopefully for the better.
https://gist.github.com/joebordes/d793efdb9ceb5be3505f
from corebos.
Thank you very much Joe,
your patch, after some problems, worked very good.
Your help was precious
from corebos.
You welcome, I'm glad it worked. I would need you to share what problems you had and what you finally did so I can add it to coreBOS if possible.
Thanks
from corebos.
Ofcourse, what can i do to share this?
Da: Joe Bordes [mailto:[email protected]]
Inviato: giovedì 9 luglio 2015 10:25
A: tsolucio/corebos
Cc: micooro
Oggetto: Re: [corebos] Report - Filter date on related module (#56)
You welcome, I'm glad it worked. I would need you to share what problems you had and what you finally did so I can add it to coreBOS if possible.
Thanks
—
Reply to this email directly or view it on GitHub.
from corebos.
Well, basically tell me what you ended up modifying to get it working. If it was exactly the code changes I sent you or you had to change something else. The main idea is to add this fix to coreBOS so everybody using it get this problem solved.
Thanks
from corebos.
Any follow up on this please?
from corebos.
Related Issues (20)
- Set a row with hidden fields to height = 0 HOT 1
- Advanced search stuck HOT 14
- Impossible to turn off ClickHouse Activation HOT 7
- Upgrade json editor to improve ui for developer :enhancement HOT 2
- workflow "use function" button on workflow condition not working HOT 25
- TUI grid inline edit does not respect currency format
- Zebra_Session: No MySQL connection vendor/stefangabos/zebra_session/Zebra_Session.php:334 HOT 2
- Settings for auto numbering give database error HOT 4
- xss vulnerability
- taxclass values don't show on products filters HOT 2
- Smtp outgoing server and individual smtp server
- Quote Email PDF not work after last update coreBOS 8.0 (baf8d5c8420230209) HOT 3
- Disable Sendgrid detailview email fields by adding global variable... set default disabled #enhancement HOT 4
- Listview details Fields overlap HOT 1
- Send Individual Emails not works in Campaing HOT 1
- Campaign -> Contact Status not work HOT 2
- Bypass check length at Add Folder feature lead to XSS vulnerability in module=evvtgendoc HOT 1
- To Do Activity Type Email non editable HOT 2
- popup list lookup HOT 2
- xampp 7.4 on windows cann't import module HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from corebos.