projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Redundant sql sentences in Report Filters.
[fa-stable.git]
/
manufacturing
/
inquiry
/
where_used_inquiry.php
diff --git
a/manufacturing/inquiry/where_used_inquiry.php
b/manufacturing/inquiry/where_used_inquiry.php
index 10fce898a820d658f5c2cf3649634a8ccb798f55..62f7d91b870e483ca05206a2f92bf7f090ef3645 100644
(file)
--- a/
manufacturing/inquiry/where_used_inquiry.php
+++ b/
manufacturing/inquiry/where_used_inquiry.php
@@
-37,7
+37,7
@@
function select_link($row)
"/manufacturing/manage/bom_edit.php?stock_id=" . $row["parent"]);
}
"/manufacturing/manage/bom_edit.php?stock_id=" . $row["parent"]);
}
-$sql = get_sql_for_where_used();
+$sql = get_sql_for_where_used(
get_post('stock_id')
);
$cols = array(
_("Parent Item") => array('fun'=>'select_link'),
$cols = array(
_("Parent Item") => array('fun'=>'select_link'),
@@
-54,4
+54,3
@@
display_db_pager($table);
end_form();
end_page();
end_form();
end_page();
-?>
\ No newline at end of file