From 1265ebd501402c3d9a3278fd62fef0823c67e50b Mon Sep 17 00:00:00 2001 From: Brian White Date: Wed, 10 Oct 2012 16:33:13 -0300 Subject: [PATCH] Make sort() criteria doc style match that of search()'s --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5207be7..475d34e 100644 --- a/README.md +++ b/README.md @@ -639,19 +639,19 @@ Extensions Supported * **sort**(<_array_>sortCriteria, <_array_>searchCriteria, <_function_>callback) - _(void)_ - Performs a sorted search(). A seqno-based counterpart exists for this function. The callback has two parameters: the error (falsey if none), and an array containing the message UIDs matching the search criteria. Valid sortCriteria are (reverse sorting of individual criteria is done by prefixing the criteria with '-'): - * ARRIVAL - Internal date and time of the message. This differs from the ON criteria in search(), which uses just the internal date. + * 'ARRIVAL' - Internal date and time of the message. This differs from the ON criteria in search(), which uses just the internal date. - * CC - The mailbox of the **first** "cc" address. + * 'CC' - The mailbox of the **first** "cc" address. - * DATE - Message sent date and time. + * 'DATE' - Message sent date and time. - * FROM - The mailbox of the **first** "from" address. + * 'FROM' - The mailbox of the **first** "from" address. - * SIZE - Size of the message in octets. + * 'SIZE' - Size of the message in octets. - * SUBJECT - Base subject text. + * 'SUBJECT' - Base subject text. - * TO - The mailbox of the **first** "to" address. + * 'TO' - The mailbox of the **first** "to" address. TODO