GIT.Harvie.CZ
/
mirrors
/
SokoMan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
d7d9ce3
)
Cisla zakazniku predelany na linky s parametrem where
author
Thomas Mudrunka
<tomas@mudrunka.cz>
Fri, 24 Feb 2012 19:35:59 +0000
(20:35 +0100)
committer
Thomas Mudrunka
<tomas@mudrunka.cz>
Fri, 24 Feb 2012 19:35:59 +0000
(20:35 +0100)
index.php
patch
|
blob
|
blame
|
history
diff --git
a/index.php
b/index.php
index cbefbd1e8803317d859c663f59dae5e28394a94a..3d5d5a49a7c01459b62db907fd10f20183f7c104 100755
(executable)
--- a/
index.php
+++ b/
index.php
@@
-376,6
+376,7
@@
EOF;
'room_id' => 'room_name',
'status_id' => 'status_name',
'item_author' => 'item_author_backend',
'room_id' => 'room_name',
'status_id' => 'status_name',
'item_author' => 'item_author_backend',
+ 'item_customer' => 'item_customer',
);
foreach($table as $id => $row) {
);
foreach($table as $id => $row) {
@@
-385,7
+386,8
@@
EOF;
if($link != $title) unset($table[$id][$link]);
switch($link) { //TODO: Move to array for easy configuration
case 'item_author':
if($link != $title) unset($table[$id][$link]);
switch($link) { //TODO: Move to array for easy configuration
case 'item_author':
- $table[$id][$title]=$this->link($row[$title], '?where[item_author]=='.$row[$link], false);
+ case 'item_customer':
+ $table[$id][$title]=$this->link($row[$title], "?where[$link]==".$row[$link], false);
break;
default:
$table[$id][$title]=$this->link($row[$title], $type.'/'.$row[$link].'/');
break;
default:
$table[$id][$title]=$this->link($row[$title], $type.'/'.$row[$link].'/');
This page took
0.11265 seconds
and
4
git commands to generate.