hotosm/osm-tasking-manager2 — pull request #483 by bgirardot (2014-12-07 15:00:37+00:00)
Title: Adds search by project number support to TM2 search box. fixes #160

This PR adds search by project number functionality to the TM2 software and fixes #160. It supports finding the project when just a number is typed in or when text and and a number are typed into the search field. It does not display private, archived or draft projects. The PR also adds a unit test to test that searching my project number does not display a private project. Unit test code and finalized search code helpfully provided by pgiraud@b0b745a4ae846a5fb0ca178525b896bf823cfff6