https://bugs.koozali.org/show_bug.cgi?id=12151
Bug ID: 12151
Summary: smeserver-qmHandle cannot get back to queue after
delete
Classification: Contribs
Product: SME Contribs
Version: 10.0
Hardware: ---
OS: ---
Status: CONFIRMED
Severity: normal
Priority: P3
Component: smeserver-qmHandle
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Target Milestone: ---
Once you delete a message from a queue you have no return apart from clicking
the SM side bar link and returning to the start again, rather than to the queue
you were just looking at, which is slow and frustrating if you had multiple
messages.
Partly that is because both local and remote queue functions use a single
Delete message function, and that first has no return link, and second has no
input to determine whether it was a local or remote message.
Ideally DeleteMessage would have an input of 'local or 'remote' and then a link
at the bottom to return to list the same queue or return to the start.
Not sure if I can do this - my perl knowledge is on the raggedy edge here!
sub showListLocalQueue
We could set my $queue='list-local-queue'
Then in
sub Addlinks it adds this
?state=perform&function=confirm-delete-message-number" . "&msgid=$1\">$1</a>
$2";
So we could add "&queue = $queue" which we could pick up later?
Logic goes roughly like this:
sub showList(Local/Remote)Queue
-> Add Alt links for Delete
-> should add what $queue it is for later use
Click Delete:
sub showDeleteMessageNumber
Sets function=delete-message-number
Then runs this:
sub deleteMessageNumber
But this sub has no return - we need a button here labelled say 'Return to
previous queue' using the $queue set above
?state=perform&function=$queue
That would get us back to the previous queue.
Possibly one that says Return to menu with ?state=perform&function=unknown
showInitial ($q, 'unknown');
That takes you back to the start.
--
You are receiving this mail because:
You are the QA Contact for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/