projects
/
gitlive
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Uncommited changes synced
[gitlive]
/
RooTicket.vala
diff --git
a/RooTicket.vala
b/RooTicket.vala
index
3b6e486
..
8588e0a
100644
(file)
--- a/
RooTicket.vala
+++ b/
RooTicket.vala
@@
-52,12
+52,12
@@
public class RooTicket : Object
{
public enum Who {
{
public enum Who {
- ANY
= "anybody"
,
- ME
= "me"
+ ANY
BODY
,
+ ME
}
public enum Status {
}
public enum Status {
- ANY
= "all"
,
- ACTIVE
= "active"
+ ANY,
+ ACTIVE
}
//const string baseurl = "https://roojs.com/admin.php/Ro/mtrack_ticket";
}
//const string baseurl = "https://roojs.com/admin.php/Ro/mtrack_ticket";
@@
-278,9
+278,9
@@
public class RooTicket : Object
var table = new GLib.HashTable<string, string>(str_hash, str_equal);
var table = new GLib.HashTable<string, string>(str_hash, str_equal);
- table.insert("_developer",
(string)who
);
+ table.insert("_developer",
who.to_string().down()
);
- table.insert("query[viewtype]",
(string)status
);
+ table.insert("query[viewtype]",
status.to_string().down()
);
table.insert("limit","999");
table.insert("sort","summary");
table.insert("limit","999");
table.insert("sort","summary");