Support filter on numeric field name

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Unknown
    • laravel-4.1.0
    • Affects Version/s: None
    • Component/s: Laravel
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When searching on a numeric field name, the field name is converted to a sequential int.

       

      User::where(123, 'foo') generates find([0 => 'foo']) instead of find([123 => 'foo'])

              Assignee:
              Jérôme Tamarelle
              Reporter:
              Jérôme Tamarelle
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: