Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGET_BOOKMARK_ORDER may receive both prevOrder and nextOrder empty #225
Comments
AlexeyBarabash
referenced
this issue
Oct 15, 2018
handle situation when prev and next orders are empty; fix#225
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GET_BOOKMARK_ORDERcommand may receive both prevOrder and nextOrder empty.The simplest case is when the bookmark is added to an empty bookmarks folder. There is no way to find what are
prevOrderandnextOrderbecause there are no any items in a folder at this time.The obvious solution is to set result based on a
parentOrder, make itparentOrder+".1"not to break the all scheme.