summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--data/script.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 552c8a5f..cb973773 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@
- Bugfix: removed Perl warning in Handler::Chars
- Bugfix: use the 'vnlists' table to calculate stats on user page
- Bugfix: allow adding/copying a char with instance field set
+ - Bugfix: copy over search string when switching to trait search
2.19 - 2011-03-30
- Character database:
diff --git a/data/script.js b/data/script.js
index 87f660a3..50bc647e 100644
--- a/data/script.js
+++ b/data/script.js
@@ -2825,7 +2825,7 @@ if(byId('searchtabs')) {
var f = function() {
var str = byId('q').value;
if(str.length > 1) {
- if(this.href.indexOf('/g') >= 0)
+ if(this.href.indexOf('/g') >= 0 || this.href.indexOf('/i') >= 0)
this.href += '/list';
this.href += '?q=' + encodeURIComponent(str);
}