projects
/
infodrom.org
/
service.infodrom.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1400fd
)
Adjustments for new person/id scheme
author
Joey Schulze
<joey@infodrom.org>
Mon, 16 May 2005 13:41:26 +0000
(13:41 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Mon, 16 May 2005 13:41:26 +0000
(13:41 +0000)
src/LinuxTag/2005/search.wml
patch
|
blob
|
history
diff --git
a/src/LinuxTag/2005/search.wml
b/src/LinuxTag/2005/search.wml
index
47118b3
..
8d9404d
100644
(file)
--- a/
src/LinuxTag/2005/search.wml
+++ b/
src/LinuxTag/2005/search.wml
@@
-126,9
+126,10
@@
function search_workshop ($dbh, $key)
{
global $foundsomething;
- $query = sprintf ("SELECT oid,title FROM workshop WHERE "
- ."title ~* '%s' OR speaker ~* '%s' OR abstract ~* '%s' OR comment ~* '%s' "
- ."ORDER BY title",
+ $query = sprintf ("SELECT oid,title FROM workshop,person WHERE "
+ ."person = id AND "
+ ."title ~* '%s' OR name ~* '%s' OR abstract ~* '%s' OR workshop.comment ~* '%s' "
+ ."ORDER BY upper(title)",
$key, $key, $key, $key);
$sth = pg_exec ($dbh, $query) or die("Datenbank-Abfrage!");