Decks
Cards
Store
IN USA!
Forum
Help
Welcome to MTG Vault!
Register
Login
Discussion Forum
Forum Home
MTG Vault Bugs & Suggestions
Bulk Import: Bonesplitter
when inputting Bonesplitter using the Bulk Import he imports it as Bonesplitter Sliver
cheers
Setherial
349 posts
Posted 10 March 2010 at 09:48
Permalink
2 replies
Login to post a comment
Ian
140 posts
Hi Seth
Cheers for that. Unforunately, things like this will happen. The way it works atm (hence why it's a bit beta :p) is that it compares the input name to card names using in SQL language, LIKE '%BoneSplitter%' - to pickup any lazy name typing. This effectively checks any card name with BoneSplitter in it's name. So if you type 1x Circle, you'd end up with lots of circles of protection!
Thanks for the feedback!
Cheers
0
Posted 10 March 2010 at 11:28
Permalink
Setherial
349 posts
Yeah I know, I wrote a bulk insert a while back myself (sometime before yours went online :))
After your fetch from the database you should use regular expressions to narrow down the search, try to find an exact match in case of multiple results from the database. If the code can't sort it out you could return a page with links so the user can choose which is the correct card from the list of matches.
cheers
Seth
0
Posted 11 March 2010 at 13:17
Permalink
Username:
Password:
Remember Me
Forgot your password
?
Don't have an account yet?
Register now
!
No notifications!