specify / specify6

Source Code for Specify 6, Biological Collections Management Platform
https://specifysoftware.org
GNU General Public License v2.0
14 stars 6 forks source link

`Current = Yes` in report query not being respected when running a loan invoice upon save #1204

Open grantfitzsimmons opened 1 year ago

grantfitzsimmons commented 1 year ago

When printing a report directly from the form, the Loan Invoice prints 5 pages.

image

When printing the report from the Reports dialog, only 3 pages are printed.

image

In the report query before printing, you can recreate the same number of pages by changing "Current = YES" to "Current = " (blank). It then returns the same results.

Screenshot 2023-04-04 at 3 27 42 PM

In short, it seems that when printing a report from the form, it does not respect the "Current = YES" established in the query the report is based on, whereas when printing from the Reports menu, it only returns the results that are current.

Reported By: Kesler Randall at the San Diego Natural History Museum

grantfitzsimmons commented 1 year ago

Same is true in Specify 7: https://github.com/specify/specify7/issues/3299