You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That button is supposed to transfer the contents to the label printing module as a GET link. However, the data variables that the label printing module is checking are not the same as what the queryform sends. The label printing module uses identifier instead of catalognumber or othercatalognumbers, and it has date1 and date2 variables for a range of dates, as well as a datetarget variable (which is only read via POST), to determine whether the date passed is a date entered, date collected, or date modified.
Update the <select name="datetarget" id="datetarget"> code in labelmanager.php to use $_REQUEST['datetarget'] instead of $_POST['datetarget']
Related feature enhancement
In the queryform, the label printing button takes up an entire line on its own. Consider moving it down into the fieldGroupDiv below it along with the Display Editor, Display Table buttons. I also think it's much more user-friendly as a button titled Print Labels, instead of an icon. It is not clear what that icon means. See screenshot below.
The text was updated successfully, but these errors were encountered:
In the occurrence editor queryform there is a block of code to add a button to print labels if certain search fields are set (see code below).
Symbiota/collections/editor/includes/queryform.php
Lines 282 to 296 in 3d8bd42
That button is supposed to transfer the contents to the label printing module as a GET link. However, the data variables that the label printing module is checking are not the same as what the queryform sends. The label printing module uses identifier instead of catalognumber or othercatalognumbers, and it has date1 and date2 variables for a range of dates, as well as a datetarget variable (which is only read via POST), to determine whether the date passed is a date entered, date collected, or date modified.
Solution:
<select name="datetarget" id="datetarget">
code in labelmanager.php to use$_REQUEST['datetarget']
instead of$_POST['datetarget']
Related feature enhancement
In the queryform, the label printing button takes up an entire line on its own. Consider moving it down into the fieldGroupDiv below it along with the Display Editor, Display Table buttons. I also think it's much more user-friendly as a button titled Print Labels, instead of an icon. It is not clear what that icon means. See screenshot below.
The text was updated successfully, but these errors were encountered: